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

Jonathan Thackray via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 24 08:33:08 PDT 2025


================
@@ -8776,6 +8776,8 @@ Value *OpenMPIRBuilder::emitRMWOpAsInstruction(Value *Src1, Value *Src2,
   case AtomicRMWInst::UMin:
   case AtomicRMWInst::FMax:
   case AtomicRMWInst::FMin:
+  case AtomicRMWInst::FMaximum:
+  case AtomicRMWInst::FMinimum:
----------------
jthackray wrote:

Thanks. I added it to avoid a compiler warning about unhandled case.

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


More information about the llvm-commits mailing list