llvm-project/llvm/test/Transforms/LoopUnroll/ARM
Sam Parker ea8448e361 [LoopUnroll] Adjust CostKind query
When TTI was updated to use an explicit cost, TCK_CodeSize was used
although the default implicit cost would have been the hand-wavey
cost of size and latency. So, revert back to this behaviour. This is
not expected to have (much) impact on targets since most (all?) of
them return the same value for SizeAndLatency and CodeSize.

When optimising for size, the logic has been changed to query
CodeSize costs instead of SizeAndLatency.

This patch also adds a testing option in the unroller so that
OptSize thresholds can be specified.

Differential Revision: https://reviews.llvm.org/D85723
2020-08-12 12:56:09 +01:00
..
dont-unroll-loopdec.ll Follow up of 67bf9a6154, minor fix in test case, removed duplicate option 2020-01-10 09:41:41 +00:00
instr-size-costs.ll [LoopUnroll] Adjust CostKind query 2020-08-12 12:56:09 +01:00
lit.local.cfg
loop-unrolling.ll
multi-blocks.ll
mve-nounroll.ll
unroll-optsize.ll [LoopUnroll] Adjust CostKind query 2020-08-12 12:56:09 +01:00
upperbound.ll