[llvm] [llvm] Add support for llvm IR atomicrmw fminimum/fmaximum instructions (PR #136759)

Jonathan Thackray via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 23 04:47:39 PDT 2025


================
@@ -68,6 +68,12 @@ bool isSaturating(AtomicRMWInst& RMWI) {
     case AtomicRMWInst::FMin:
       // minnum(x, -inf) -> +inf
       return CF->isNegative() && CF->isInfinity();
+    case AtomicRMWInst::FMaximum:
----------------
jthackray wrote:

Thanks, removed for now.

https://github.com/llvm/llvm-project/pull/136759


More information about the llvm-commits mailing list