Commit 7321d54
committed
[TTI][AArch64] Detect OperandInfo from scalable splats.
Pulled out of llvm#122236, this allows Splats contants to be recognized in by
getOperandInfo, allowing "better" costs for instructions like divides by
constants to be produced (which are expanded into mul+add+shift). Some of the
costs are not very accurate yet, but the comparison of scalar vs fixed-with vs
scalable for the same fiv can become more accurate, especially with patches
like llvm#122236.1 parent 2e6030e commit 7321d54
File tree
3 files changed
+78
-77
lines changed- llvm
- lib/Analysis
- test/Analysis/CostModel/AArch64
3 files changed
+78
-77
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
893 | 893 | | |
894 | 894 | | |
895 | 895 | | |
896 | | - | |
| 896 | + | |
| 897 | + | |
897 | 898 | | |
898 | 899 | | |
899 | 900 | | |
| |||
0 commit comments