[Mlir-commits] [llvm] [mlir] Add usub_cond and usub_sat operations to atomicrmw (PR #105568)

Matt Arsenault llvmlistbot at llvm.org
Thu Aug 29 03:04:35 PDT 2024


================
@@ -41,6 +41,8 @@ bool isIdempotentRMW(AtomicRMWInst& RMWI) {
     case AtomicRMWInst::Sub:
     case AtomicRMWInst::Or:
     case AtomicRMWInst::Xor:
+    case AtomicRMWInst::USubCond:
+    case AtomicRMWInst::USubSat:
----------------
arsenm wrote:

Missing tests for this (I would also split the instcombine piece into a separate change) 

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


More information about the Mlir-commits mailing list