[PATCH] D115109: [LV] Do not fold the tail when an IV is used outside of the loop.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun May 15 13:59:49 PDT 2022
fhahn added inline comments.
================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:3328
+ assert(isa<PHINode>(UI) && "Expected LCSSA form");
+ assert(!Cost->foldTailByMasking() && "Unexpected external use of IV");
+ MissingVals[UI] = EndValue;
----------------
this is independent of the patch and could be moved out of the patch, right? If so, it would be good to split of.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115109/new/
https://reviews.llvm.org/D115109
More information about the llvm-commits
mailing list