================
@@ -132,12 +134,60 @@ static bool expandRcpIntrinsic(CallInst *Orig) {
return true;
}
+static Intrinsic::ID getCorrectMaxIntrinsic(Type *elemTy,
+ Intrinsic::ID clampIntrinsic) {
----------------
bogner wrote:
I could see us needing to get a max intrinsic in some other context at some
point. Maybe a more specific name like `getMaxForClamp` is better.
https://github.com/llvm/llvm-project/pull/85424
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits