[llvm] [RISCV] Use vcompress in deinterleave2 intrinsic lowering (PR #118325)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 2 17:48:07 PST 2024
================
@@ -10771,19 +10767,28 @@ SDValue RISCVTargetLowering::lowerVECTOR_DEINTERLEAVE(SDValue Op,
}
// For the indices, use the same SEW to avoid an extra vsetvli
+ // TODO: If container type is larger than m1, we can consider using a splat
+ // of a constant instead of the following sequence
+
+ // Create a vector of even indices {0, 1, 2, ...}
----------------
lukel97 wrote:
Is this comment still needed? Since we don't have indices anymore, just a mask
https://github.com/llvm/llvm-project/pull/118325
More information about the llvm-commits
mailing list