The moved helpers are only used for codegen. It will allow moving the
remaining ::execute implementations out of LoopVectorize.cpp.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Transforms/Vectorize/VPlan.cpp | ||
---|---|---|
251 | nit: while we're here, this function could use an early-exit or two, potentially via return Builder.SetCurrentDebugLocation()'s, possibly in a separate patch. | |
llvm/lib/Transforms/Vectorize/VPlan.h | ||
321 | \p Ptr? |
llvm/lib/Transforms/Vectorize/VPlan.cpp | ||
---|---|---|
251 | I added an early exit for the cast that V isn't an instruction in b4694229aa9d7a09d58a8e59339d14570437daf2 | |
llvm/lib/Transforms/Vectorize/VPlan.h | ||
321 | Thanks, I removed it from the reference to to dead Ptr argument in the committed version. |
llvm/lib/Transforms/Vectorize/VPlan.cpp | ||
---|---|---|
251 | Thanks! Another early exit can be added for the case when FSDiscriminator is enabled... |
\p Ptr?
Note that the original version uses ILV's Builder, this one uses State's Builder, but it's fine.