[llvm] fdce6c8 - InstCombine: Fix typo in atomicrmw or test
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 18 08:06:05 PDT 2024
Author: Matt Arsenault
Date: 2024-04-18T17:05:57+02:00
New Revision: fdce6c80bc92c9668b3835264806fa85b8a93ab7
URL: https://github.com/llvm/llvm-project/commit/fdce6c80bc92c9668b3835264806fa85b8a93ab7
DIFF: https://github.com/llvm/llvm-project/commit/fdce6c80bc92c9668b3835264806fa85b8a93ab7.diff
LOG: InstCombine: Fix typo in atomicrmw or test
This was copy-paste from the identical add test, and
didn't change to test the or from the name.
Added:
Modified:
llvm/test/Transforms/InstCombine/atomicrmw.ll
Removed:
################################################################################
diff --git a/llvm/test/Transforms/InstCombine/atomicrmw.ll b/llvm/test/Transforms/InstCombine/atomicrmw.ll
index 0c359042656119..ced4c33d7d9463 100644
--- a/llvm/test/Transforms/InstCombine/atomicrmw.ll
+++ b/llvm/test/Transforms/InstCombine/atomicrmw.ll
@@ -21,7 +21,7 @@ define i32 @atomic_or_zero(ptr %addr) {
; CHECK-NEXT: [[RES:%.*]] = atomicrmw or ptr [[ADDR:%.*]], i32 0 monotonic, align 4
; CHECK-NEXT: ret i32 [[RES]]
;
- %res = atomicrmw add ptr %addr, i32 0 monotonic
+ %res = atomicrmw or ptr %addr, i32 0 monotonic
ret i32 %res
}
More information about the llvm-commits
mailing list