[llvm] [IA]: Construct (de)interleave4 out of (de)interleave2 (PR #89276)
Paul Walker via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 30 09:56:16 PDT 2024
================
@@ -16946,9 +17068,8 @@ bool AArch64TargetLowering::lowerDeinterleaveIntrinsicToLoad(
Value *BaseAddr = LI->getPointerOperand();
Value *Result;
if (NumLoads > 1) {
- Value *Left = PoisonValue::get(VTy);
- Value *Right = PoisonValue::get(VTy);
-
+ // Create multiple legal small ldN instead of a wide one.
+ SmallVector<Value *, 4> WideValues(Factor, (PoisonValue::get(VTy)));
----------------
paulwalker-arm wrote:
Redundant brackets wrapping `PoisonValue::get(VTy)`?
https://github.com/llvm/llvm-project/pull/89276
More information about the llvm-commits
mailing list