[llvm] [PowerPC] Utilize getReservedRegs to find asm clobberable registers. (PR #107863)

Lei Huang via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 10 08:24:53 PDT 2024


================
@@ -27,12 +27,12 @@ body: |
     ; CHECK: $x0 = MFLR8 implicit $lr8
     ; CHECK-NEXT: STD killed $x0, 16, $x1
     ; CHECK-NEXT: $x1 = STDU $x1, -32752, $x1
-    ; CHECK-NEXT: BL8 @test_callee, csr_ppc64, implicit-def dead $lr8, implicit $rm, implicit $x2, implicit-def $r1, implicit-def $x3
+    ; CHECK-NEXT: BL8 @test_callee, csr_ppc64_r2, implicit-def dead $lr8, implicit $rm, implicit-def $r1, implicit-def $x3
----------------
lei137 wrote:

What changes caused this change from `csr_ppc64` to `csr_ppc64_r2`?

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


More information about the llvm-commits mailing list