llvm-project/llvm/test/Analysis
Sanjay Patel f2c25c7079 [CostModel] remove cost-kind predicate for some vector reduction costs
This is a modified 2nd try of 22d10b8ab4
(reverted by 1c8371692d because it managed
to expose an existing crashing bug that should be fixed by
74ffc823 ).

Original commit message:

This is similar in spirit to 01ea93d85d (memcpy) except that
here the underlying caller assumptions were created for vectorizer
use (throughput) rather than other passes.

That meant targets could have an enormous throughput cost with no
corresponding size, latency, or blended cost increase.
The ARM costs show a small difference between throughput and
size because there's an underlying difference in cmp/sel
costs that is also predicated on cost-kind.

Paraphrasing from the previous commits:
This may not make sense for some callers, but at least now the
costs will be consistently wrong instead of mysteriously wrong.

Targets should provide better overrides if the current modeling
is not accurate.
2020-10-25 15:17:52 -04:00
..
AliasSet [NewPM] Port -print-alias-sets to NPM 2020-09-16 18:34:56 -07:00
AssumptionCache
BasicAA [BasicAA] Only add visited phi blocks temporarily 2020-10-22 22:26:29 +02:00
BlockFrequencyInfo [NewPM] Pin -lazy-branch-prob and -lazy-block-freq tests to legacy PM 2020-09-21 17:51:46 -07:00
BranchProbabilityInfo [NewPM] Pin -lazy-branch-prob and -lazy-block-freq tests to legacy PM 2020-09-21 17:51:46 -07:00
CFLAliasAnalysis [BasicAA] Rename -disable-basicaa to -disable-basic-aa to be consistent with the canonical name "basic-aa" 2020-06-26 20:55:44 -07:00
CallGraph [test][NewPM] Pin do-nothing-intrinsic.ll to legacy PM 2020-09-22 11:33:38 -07:00
CostModel [CostModel] remove cost-kind predicate for some vector reduction costs 2020-10-25 15:17:52 -04:00
DDG [DDG] Data Dependence Graph - Graph Simplification 2020-02-19 13:41:51 -05:00
Delinearization [Delinearization][NewPM] Port delinearization to NPM 2020-09-21 17:59:08 -07:00
DemandedBits [DemandedBits][NewPM] Pin some tests to legacy PM 2020-09-15 11:55:58 -07:00
DependenceAnalysis [DependenceAnalysis][NewPM] Fix tests to work under NPM 2020-09-15 11:11:23 -07:00
DivergenceAnalysis [DA][SDA] SyncDependenceAnalysis re-write 2020-09-30 17:36:26 +02:00
DominanceFrontier
Dominators [Dominators][NewPM] Pin tests with -analyze to legacy PM 2020-09-15 11:59:00 -07:00
FunctionPropertiesAnalysis Add new function properties to FunctionPropertiesAnalysis 2020-07-23 12:46:47 -07:00
GlobalsModRef [test][NewPM] Make dead-uses.ll work under NPM 2020-10-06 07:33:02 -07:00
IRSimilarityIdentifier [IRSim] Adding wrapper pass for IRSimilarityIdentfier 2020-09-24 14:59:41 -05:00
IVUsers [SCEV] Strenthen nowrap flags after constant folding for mul exprs 2020-10-25 19:43:58 +01:00
LazyCallGraph [Tests] Migrate a number of tests to gc-live bundle representation 2020-06-05 16:44:04 -07:00
LazyValueAnalysis [LVI] Don't require DominatorTree in LVI (NFC) 2020-05-19 20:21:46 +02:00
LegacyDivergenceAnalysis Verifier: Disallow byval and similar for AMDGPU calling conventions 2020-07-20 10:58:57 -04:00
Lint [Lint] Add check for intrinsic get.active.lane.mask 2020-09-17 09:22:03 +01:00
LoopAccessAnalysis [SCEV] Strenthen nowrap flags after constant folding for mul exprs 2020-10-25 19:43:58 +01:00
LoopCacheAnalysis/PowerPC [LoopCacheAnalysis]: Add support for negative stride 2020-02-10 13:22:35 -05:00
LoopInfo [LoopInfo][NewPM] Fix tests in Analysis/LoopInfo under NPM 2020-09-22 11:31:00 -07:00
LoopNestAnalysis [LoopNest] False negative of `arePerfectlyNested` with LCSSA loops 2020-08-25 16:20:52 +00:00
MemoryDependenceAnalysis [BasicAA] Rename deprecated -basicaa to -basic-aa 2020-06-26 20:41:37 -07:00
MemorySSA [MemorySSA] Verify clobbering within reachable blocks. 2020-10-16 17:46:28 -07:00
MustExecute Infer alignment of unmarked loads in IR/bitcode parsing. 2020-05-14 13:03:50 -07:00
PhiValues
PostDominators [PostDominators][NewPM] Fix tests to work under NPM 2020-09-15 11:19:01 -07:00
ProfileSummary
RegionInfo [RegionInfo][NewPM] Fix RegionInfo tests to work under NPM 2020-09-15 11:12:14 -07:00
ScalarEvolution [SCEV] Strenthen nowrap flags after constant folding for mul exprs 2020-10-25 19:43:58 +01:00
ScopedNoAliasAA Rename scoped-noalias -> scoped-noalias-aa 2020-07-24 12:14:27 -07:00
StackSafetyAnalysis [NPM][StackSafetyAnalysis] Pin uses of -analyze to legacy PM 2020-10-19 21:24:03 -07:00
TypeBasedAliasAnalysis [IR] Make nosync, nofree and willreturn default for intrinsics. 2020-10-20 11:57:19 +02:00
ValueTracking Fix tests after 16f777f421 2020-07-14 22:52:26 +02:00
alias-analysis-uses.ll [NewPM] Pin tests with -debug-pass to legacy PM 2020-09-22 17:54:25 -07:00