This patch adds plumbing to handle scalarized values directly in
VPTransformState.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Remove unnecessary variable
| llvm/lib/Transforms/Vectorize/VPlan.cpp | ||
|---|---|---|
| 220 | That was some leftovers from earlier experiments. I removed the line for now. | |
| llvm/lib/Transforms/Vectorize/VPlan.h | ||
|---|---|---|
| 318 | Implementation? | |
Move void set(VPValue *Def, Value *IRDef, Value *V, const VPIteration &Instance); declaration to D92284, where it is actually defined & used.
LGTM, with a nit. Thanks!
| llvm/lib/Transforms/Vectorize/VPlan.cpp | ||
|---|---|---|
| 223 | The assert is missing an "error message", but checking hasVectorValue() seems a bit too defensive. Any reason to assert here? (and not assert at line 230?) | |
Better to use using?