[llvm] [AArch64] Address issue reported in PR#196029 (PR #199122)
Sushant Gokhale via llvm-commits
llvm-commits at lists.llvm.org
Sat May 30 15:54:42 PDT 2026
================
@@ -202,4 +202,32 @@ define void @store_trunc_v32i16i8(ptr %ap, ptr %dest) #0 {
ret void
}
+define void @store_trunc_v4i64i32(ptr %src, ptr %dest) vscale_range(1,0) #0 {
+; CHECK-LABEL: store_trunc_v4i64i32:
+; CHECK: // %bb.0:
+; CHECK-NEXT: ldp q1, q0, [x0]
+; CHECK-NEXT: uzp1 v0.4s, v1.4s, v0.4s
+; CHECK-NEXT: str q0, [x1]
+; CHECK-NEXT: ret
+ %ld = load <4 x i64>, ptr %src, align 4
+ %trunc = trunc <4 x i64> %ld to <4 x i32>
+ store <4 x i32> %trunc, ptr %dest, align 8
+ ret void
+}
+
+
+define void @store_trunc_v4i64i32_sve_no_neon(ptr %src, ptr %dest) vscale_range(1,0) "target-features"="-neon,+sve" {
----------------
sushgokh wrote:
@paulwalker-arm This test is crashing with assertions enabled but the crash is unrelated to this change. Can I remove this case from here and address the crash in a different patch?
https://github.com/llvm/llvm-project/pull/199122
More information about the llvm-commits
mailing list