[llvm] [AArch64] Preserve SDNode flags when lowering fixed vectors to scalable operations (PR #204616)
David Sherwood via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 25 05:59:21 PDT 2026
================
@@ -0,0 +1,29 @@
+; RUN: llc -debug-only=isel < %s 2>&1 | FileCheck %sa
+
+; REQUIRES: asserts
+
+target triple = "aarch64-unknown-linux-gnu"
+
+define void @usra_disjoint_or32xi8(ptr %a, ptr %b) vscale_range(2,0) #0 {
+; CHECK-LABEL: usra_disjoint_or32xi8:
+; CHECK: t27: nxv16i8 = USRA_ZZI_B disjoint t34, t31, TargetConstant:i32<4>
----------------
david-arm wrote:
nit: I think it would be good to avoid referring to the variables like `t27` in here as it can make the test fragile. You can do something like:
```
; CHECK: nxv16i8 = USRA_ZZI_B disjoint {{.*}}, {{.*}}, TargetConstant:i32<4>
```
Same for the test below
https://github.com/llvm/llvm-project/pull/204616
More information about the llvm-commits
mailing list