[llvm] [NVPTX] cleanup & canonicalize `mov` (PR #129344)
Justin Fargnoli via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 28 20:28:35 PST 2025
================
@@ -1068,12 +1068,11 @@ define i16 @acq_rel_sys_i16(ptr %addr, i16 %cmp, i16 %new) {
; SM30-NEXT: // %bb.2: // %partword.cmpxchg.failure
; SM30-NEXT: // in Loop: Header=BB8_1 Depth=1
; SM30-NEXT: and.b32 %r8, %r7, %r2;
-; SM30-NEXT: setp.ne.s32 %p2, %r19, %r8;
-; SM30-NEXT: mov.u32 %r19, %r8;
-; SM30-NEXT: @%p2 bra $L__BB8_1;
-; SM30-NEXT: $L__BB8_3: // %partword.cmpxchg.end
-; SM30-NEXT: membar.sys;
----------------
justinfargnoli wrote:
Woah, I completely missed that. I was not expecting that. I'll dig into it.
https://github.com/llvm/llvm-project/pull/129344
More information about the llvm-commits
mailing list