[llvm] [AArch64] Improve lowering of GPR zeroing in copyPhysReg (PR #163059)

Tomer Shafir via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 17 07:06:16 PDT 2025


================
@@ -39,7 +39,7 @@ body:             |
     ; CHECK-NO-ZCM-GPR32-ZCM-GPR64-NO-ZCZ-LABEL: name: f0
     ; CHECK-NO-ZCM-GPR32-ZCM-GPR64-NO-ZCZ: liveins: $x0, $lr
     ; CHECK-NO-ZCM-GPR32-ZCM-GPR64-NO-ZCZ-NEXT: {{  $}}
-    ; CHECK-NO-ZCM-GPR32-ZCM-GPR64-NO-ZCZ-NEXT: $x0 = ORRXrr $xzr, undef $xzr, implicit $wzr
+    ; CHECK-NO-ZCM-GPR32-ZCM-GPR64-NO-ZCZ-NEXT: $w0 = ORRWrr $wzr, $wzr
----------------
tomershafir wrote:

Will add. These new test cases are not affected by the specific functional change, but it probably fits under this patch title.

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


More information about the llvm-commits mailing list