Daniil Fukalov
1f73f0c19d
[NFC][AMDGPU] Update cost model tests:
...
1. Convert to generated tests.
2. Added code-size case in few places.
2021-09-27 19:26:02 +03:00
Daniil Fukalov
4f28a2eb03
[NFC] Refactor tests to improve readability.
2021-09-24 01:57:30 +03: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