[llvm] [AtomicExpandPass] Match isIdempotentRMW with InstcombineRMW (PR #142277)
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 4 10:06:03 PDT 2025
================
@@ -622,4 +622,365 @@ define void @or8_nouse_seq_cst(ptr %p) #0 {
ret void
}
+define void @atomic_umin_uint_max(ptr %addr) #0 {
+; CHECK-LABEL: @atomic_umin_uint_max(
+; CHECK-NEXT: [[RES:%.*]] = atomicrmw or ptr [[ADDR:%.*]], i32 0 monotonic, align 4
+; CHECK-NEXT: ret i32 [[RES]]
----------------
RKSimon wrote:
where have these CHECK prefixes come from?
https://github.com/llvm/llvm-project/pull/142277
More information about the llvm-commits
mailing list