Yeting Kuo
ae7c6647f3
[RISCV] Add basic code modeling for fixed length vector reduction.
...
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D121447
2022-03-14 11:04:31 +08:00
Arthur Eubanks
15ba588d6d
[test] Migrate '-analyze -cost-model' to '-passes=print<cost-model>'
2022-02-09 15:42:16 -08:00
Alexey Bataev
14ae0cf0f5
[Cost]Canonicalize the cost for logical or/and reductions.
...
The generic cost of logical or/and reductions should be cost of bitcast
<ReduxWidth x i1> to iReduxWidth + cmp eq|ne iReduxWidth.
Differential Revision: https://reviews.llvm.org/D97961
2021-03-19 11:01:58 -07:00
Alexey Bataev
60470ac7ff
[Cost]Add tests for boolean and/or reductions, NFC.
...
Tests with the default costs for boolean and/or reductions.
Differential Revision: https://reviews.llvm.org/D97793
2021-03-03 12:34:30 -08:00