[llvm] [AArch64] Address issue reported in PR#196029 (PR #199122)

Sushant Gokhale via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 3 03:54:21 PDT 2026


================
@@ -1762,9 +1762,13 @@ AArch64TargetLowering::AArch64TargetLowering(const TargetMachine &TM,
     }
 
     // SVE supports truncating stores of 64 and 128-bit vectors
+    auto VT = MVT::v2i64;
+    if (useSVEForFixedLengthVectorVT(
+            VT, /*OverrideNEON=*/Subtarget->useSVEForFixedLengthVectors()))
+      setTruncStoreAction(VT, MVT::v2i32, Custom);
----------------
sushgokh wrote:

I was bit skeptical about removing the entire code. Removing the code makes no change to the test output. Thanks. Done.

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


More information about the llvm-commits mailing list