[llvm] [CodeGen] Expand unsupported (de)interleave intrinsics (PR #207439)
Kamlesh Kumar via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 16 10:54:26 PDT 2026
================
@@ -3301,6 +3300,13 @@ class LLVM_ABI TargetLoweringBase {
/// Default to be the minimum interleave factor: 2.
virtual unsigned getMaxSupportedInterleaveFactor() const { return 2; }
+ /// Return true if a fixed-length VECTOR_INTERLEAVE / VECTOR_DEINTERLEAVE
+ /// should be expanded to a shufflevector sequence.
+ virtual bool shouldExpandVectorInterleaveToShuffle(unsigned Factor,
----------------
kamleshbhalui wrote:
What about adding `setVectorInterleaveAction`, to get the factor level granularity along with types?
https://github.com/llvm/llvm-project/pull/207439
More information about the llvm-commits
mailing list