[llvm] [VPlan] Use pointer to member 0 as VPInterleaveRecipe's pointer arg. (PR #106431)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 24 12:24:45 PDT 2024
================
@@ -2413,10 +2414,11 @@ void VPInterleaveRecipe::execute(VPTransformState &State) {
Idx = State.Builder.CreateSub(RuntimeVF, State.Builder.getInt32(1));
Idx = State.Builder.CreateMul(Idx,
State.Builder.getInt32(Group->getFactor()));
----------------
fhahn wrote:
Yes I think so, we just don't have to compute the index for the first lane (used to be done via the removed add)
https://github.com/llvm/llvm-project/pull/106431
More information about the llvm-commits
mailing list