[llvm] [AArch64] Fold NEON splats into users by using SVE immediates (PR #165559)

Benjamin Maxwell via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 11 05:16:25 PDT 2026


================
@@ -15535,6 +15601,9 @@ SDValue AArch64TargetLowering::LowerBUILD_VECTOR(SDValue Op,
         return Op;
   }
 
+  if (SDValue V = tryFoldSplatIntoUsersWithSVE(Op, DAG))
----------------
MacDue wrote:

Rewritten using table-gen matchers. 

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


More information about the llvm-commits mailing list