This adds some basic costs for MVE reductions - currently just marking the simple legal add vectors as cheap. More complex costing can be added in the future when the framework more readily allows it.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/test/Analysis/CostModel/ARM/mve-vecreduce-add.ll | ||
---|---|---|
2 | Since you have a ST->hasMVEIntegerOps() check, do we need a run with -mattr=-mve? |
llvm/test/Analysis/CostModel/ARM/mve-vecreduce-add.ll | ||
---|---|---|
2 | Do you mean, are there tests without MVE? If so yeah, but they are in a different test file and did not change. reduce-add.ll in the same folder contains some other basic tests for Neon and without any vectorization. |
Since you have a ST->hasMVEIntegerOps() check, do we need a run with -mattr=-mve?