[llvm] [AArch64][FastISel] Update arm64-fast-isel-conversion.ll check lines (NFC) (PR #207159)
Ömer Sinan Ağacan via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 2 04:50:45 PDT 2026
================
@@ -418,35 +490,53 @@ define void @stack_trunc() nounwind {
define zeroext i64 @zext_i8_i64(i8 zeroext %in) {
; CHECK-LABEL: zext_i8_i64:
-; CHECK-NOT: ubfx x0, {{x[0-9]+}}, #0, #8
-; CHECK: ret
+; CHECK: ; %bb.0:
+; CHECK-NEXT: ; kill: def $x0 killed $w0
+; CHECK-NEXT: ret
----------------
osa1 wrote:
This part is incorrect: high 32-bits of the argument register is undefined so we actually need the zero extension instruction here.
sdag output of the function: (with a different name)
```
_zext_i8_zext_i64: ; @zext_i8_zext_i64
.cfi_startproc
; %bb.0:
mov w0, w0
ret
.cfi_endproc
; -- End function
.globl _zext_i16_zext_i64 ; -- Begin function zext_i16_zext_i64
.p2align 2
```
https://github.com/llvm/llvm-project/pull/207159
More information about the llvm-commits
mailing list