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

zhijian lin via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 16 10:35: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
----------------
diggerlin wrote:

> Why did this change?

the change is caused by run the update_llc_test_checks.py, I will create NFC PR for it before the patch.

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


More information about the llvm-commits mailing list