In order to make auto-vectorizer work efficiently, correct cost estimate(cost model) is needed. This patch is still a WIP, not only as all kinds of TTI::ShuffleKind need to be handled, but also for the related processes(eg. TargetLoweringBase::getTypeLegalizationCost()).
Details
Details
- Reviewers
- None
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Should this consider LMUL? The ALU likely needs more cycles for LMUL 2 than LMUL 1.