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

Kai Luo via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 7 04:59:34 PDT 2024


================
@@ -216,10 +213,9 @@ body: |
     ; CHECK-NEXT: {{  $}}
     ; CHECK-NEXT: $x4 = OR8 $x16, $x16
     ; CHECK-NEXT: $x5 = OR8 $x17, $x17
-    ; CHECK-NEXT: $x3 = OR8 $x5, $x5
-    ; CHECK-NEXT: BLR8 implicit $lr8, implicit undef $rm, implicit killed $x3, implicit $x4
+    ; CHECK-NEXT: BLR8 implicit $lr8, implicit undef $rm, implicit $x5, implicit $x4
   %0:g8prc = COPY $g8p8
-  $x3 = COPY %0.sub_gp8_x1:g8prc
----------------
bzEq wrote:

ditto.

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


More information about the llvm-commits mailing list