llvm-mirror/test/Transforms/SimpleLoopUnswitch
Sam Parker 4451edd54d [NFCI][SimpleLoopUnswitch] Adjust CostKind query
When getUserCost was transitioned to use an explicit CostKind,
TCK_CodeSize was used even though the original kind was implicitly
SizeAndLatency so restore this behaviour. We now only query for
CodeSize when optimising for minsize.

I expect this to not change anything as, I think all, targets will
currently return the same value for CodeSize and SizeLatency. Indeed
I see no changes in the test suite for Arm, AArch64 and X86.

Differential Revision: https://reviews.llvm.org/D85829
2020-08-14 07:54:20 +01:00
..
ARM [NFCI][SimpleLoopUnswitch] Adjust CostKind query 2020-08-14 07:54:20 +01:00
2006-06-13-SingleEntryPHI.ll
2006-06-27-DeadSwitchCase.ll
2007-05-09-tl.ll
2007-05-09-Unreachable.ll
2007-07-12-ExitDomInfo.ll
2007-07-13-DomInfo.ll
2007-07-18-DomInfo.ll
2007-08-01-Dom.ll
2007-08-01-LCSSA.ll
2007-10-04-DomFrontier.ll
2008-06-02-DomInfo.ll
2008-06-17-DomFrontier.ll
2010-11-18-LCSSA.ll
2011-06-02-CritSwitch.ll
2011-09-26-EHCrash.ll
2012-04-02-IndirectBr.ll
2012-04-30-LoopUnswitch-LPad-Crash.ll
2012-05-20-Phi.ll
2015-09-18-Addrspace.ll
basictest-profmd.ll
basictest.ll
cleanuppad.ll
copy-metadata.ll
crash.ll
dead-blocks-uses-in-unreachablel-blocks.ll
delete-dead-blocks.ll
exponential-behavior.ll
exponential-nontrivial-unswitch2.ll
exponential-nontrivial-unswitch-nested2.ll
exponential-nontrivial-unswitch-nested.ll
exponential-nontrivial-unswitch.ll
exponential-switch-unswitch.ll
formDedicatedAfterTrivial1.ll
formDedicatedAfterTrivial2.ll
formDedicatedAfterTrivial3.ll
guards.ll
implicit-null-checks.ll [SimpleLoopUnswitch] Preserve make.implicit in non-trivial unswitch if legal 2020-07-31 11:38:43 +07:00
infinite-loop.ll
LIV-loop-condtion.ll
msan.ll
nontrivial-unswitch-cost.ll
nontrivial-unswitch-redundant-switch.ll
nontrivial-unswitch.ll
pr37888.ll
preserve-analyses.ll
preserve-scev-exiting-multiple-loops.ll
trivial-unswitch-iteration.ll
trivial-unswitch-profmd.ll
trivial-unswitch.ll
update-scev.ll