================
@@ -132,12 +134,60 @@ static bool expandRcpIntrinsic(CallInst *Orig) {
return true;
}
+static Intrinsic::ID getCorrectMaxIntrinsic(Type *elemTy,
+ Intrinsic::ID clampIntrinsic) {
----------------
farzonl wrote:
Will do.
As an aside this function started off generic until I found out I couldn't use
`getSignBit()` to distinguish unsigned clamp vs signed clamp. The only way I
could determine signed-ness was in codeGen.
https://github.com/llvm/llvm-project/pull/85424
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits