[llvm] [LV] Support scalable interleave groups for factors 3, 5, 6 and 7 (PR #141865)

Min-Yih Hsu via llvm-commits llvm-commits at lists.llvm.org
Thu May 29 09:56:38 PDT 2025


================
@@ -3217,6 +3217,62 @@ static Value *createBitOrPointerCast(IRBuilderBase &Builder, Value *V,
   return Builder.CreateBitOrPointerCast(CastVal, DstVTy);
 }
 
+static Intrinsic::ID getInterleaveIntrinsicID(unsigned Factor) {
----------------
mshockwave wrote:

not this patch, but perhaps we can factor out utility functions like this and `getIntrinsicFactor` from InterleavedAccessPass into a public header file in the future

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


More information about the llvm-commits mailing list