[llvm] [VPlan] Support scalable VFs in narrowInterleaveGroups. (PR #154842)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 31 12:45:01 PDT 2025
================
@@ -16,18 +16,15 @@ define void @load_store_interleave_group(ptr noalias %data) {
; CHECK-NEXT: [[TMP3:%.*]] = mul nuw i64 [[TMP2]], 2
; CHECK-NEXT: [[N_MOD_VF:%.*]] = urem i64 100, [[TMP3]]
; CHECK-NEXT: [[N_VEC:%.*]] = sub i64 100, [[N_MOD_VF]]
+; CHECK-NEXT: [[TMP6:%.*]] = call i64 @llvm.vscale.i64()
----------------
fhahn wrote:
Yep, the minimum iteration check could be improved. This should now be do-able as we create the minimum iteration check directly in VPlan (when not vectorizing the epilogue). I can check separately.
https://github.com/llvm/llvm-project/pull/154842
More information about the llvm-commits
mailing list