+vpu controls whether VEISelLowering adds any vregs.
This defaults to -vpu to have scalar code generation out of the box.
We bring up vector isel under the +vpu flag. Once vector isel is stable we switch to +vpu and advertise vregs and vops in TTI.
Details
Details
- Reviewers
k-ishizaka kaz7 - Commits
- rG351c10cc7214: [VE] Add +vpu attribute
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/VE/VETargetTransformInfo.h | ||
---|---|---|
43 | Modifications after this line look like duplicated from https://reviews.llvm.org/D90462. Otherwise, LGTM. |
llvm/lib/Target/VE/VETargetTransformInfo.h | ||
---|---|---|
43 | I see. I was wondering why.. Now I understand it. Thanks! |
Modifications after this line look like duplicated from https://reviews.llvm.org/D90462. Otherwise, LGTM.