[llvm] [PowerPC] eliminate RLWINM instruction following LBARX as possible (PR #144089)

Nemanja Ivanovic via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 15 03:12:21 PDT 2025


================
@@ -6,18 +6,17 @@ define void @test(ptr %ptr, i8 %cmp, i8 %val) {
 ; PPC64LE:       # %bb.0:
 ; PPC64LE-NEXT:    clrlwi 5, 5, 24
 ; PPC64LE-NEXT:    clrlwi 4, 4, 24
-; PPC64LE-NEXT:    .p2align        5
-; PPC64LE-NEXT:  .LBB0_1:                                # %cmpxchg.start
-; PPC64LE-NEXT:                                          # =>This Inner Loop Header: Depth=1
+; PPC64LE-NEXT:    .p2align 5
----------------
nemanjai wrote:

Why did this change?

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


More information about the llvm-commits mailing list