[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:51:28 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
   %big = zext i8 %in to i64
   ret i64 %big
 }
 define zeroext i64 @zext_i16_i64(i16 zeroext %in) {
 ; CHECK-LABEL: zext_i16_i64:
-; CHECK-NOT:   ubfx x0, {{x[0-9]+}}, #0, #16
-; CHECK:       ret
+; CHECK:       ; %bb.0:
+; CHECK-NEXT:    ; kill: def $x0 killed $w0
+; CHECK-NEXT:    ret
----------------
osa1 wrote:

Same as above.

There isn't a test for i32-to-i64 case, otherwise that'd have incorrect output too. (I'll add this test in a separate PR)

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


More information about the llvm-commits mailing list