llvm-mirror/test/Analysis
Max Kazantsev 55e622cae0 [SimplifyIndVars] Ignore dead users
IndVarSimplify sometimes makes transforms basing on users that are trivially dead. In particular,
if DCE wasn't run before it, there may be a dead `sext/zext` in loop that will trigger widening
transforms, however it makes no sense to do it.

This patch teaches IndVarsSimplify ignore the mist trivial cases of that.

Differential Revision: https://reviews.llvm.org/D47974
Reviewed By: sanjoy

llvm-svn: 334567
2018-06-13 02:25:32 +00:00
..
AliasSet [AliasSet] Teach the alias set how to handle atomic memcpy/memmove/memset 2018-05-30 14:43:39 +00:00
AssumptionCache
BasicAA [BasicAA] Teach the analysis about atomic memcpy 2018-05-29 19:23:50 +00:00
BlockFrequencyInfo [BPI] Apply invoke heuristic before loop branch heuristic 2018-06-08 13:03:21 +00:00
BranchProbabilityInfo [BPI] Apply invoke heuristic before loop branch heuristic 2018-06-08 13:03:21 +00:00
CallGraph
CFLAliasAnalysis Revert r332657: "[AA] cfl-anders-aa with field sensitivity" 2018-05-17 21:56:39 +00:00
ConstantFolding [ConstantFold] Disallow folding vector geps into bitcasts 2018-06-01 19:34:35 +00:00
CostModel [CostModel] Replace ShuffleKind::SK_Alternate with ShuffleKind::SK_Select (PR33744) 2018-06-12 16:12:29 +00:00
Delinearization [SCEV] Add nuw/nsw to mul ops in StrengthenNoWrapFlags where safe. 2018-06-11 18:57:42 +00:00
DemandedBits
DependenceAnalysis [DA] Fix direction vectors for weakZeroSrcSIV 2018-05-31 14:55:29 +00:00
DivergenceAnalysis
DominanceFrontier
Dominators
GlobalsModRef [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00
IVUsers [SCEV] Add nuw/nsw to mul ops in StrengthenNoWrapFlags where safe. 2018-06-11 18:57:42 +00:00
LazyCallGraph
LazyValueAnalysis
Lint
LoopAccessAnalysis [SCEV] Add nuw/nsw to mul ops in StrengthenNoWrapFlags where safe. 2018-06-11 18:57:42 +00:00
LoopInfo
MemoryDependenceAnalysis [MemDep] Fixed handling of invariant.group 2018-05-18 22:40:34 +00:00
MemorySSA [MemorySSA] Don't sort IDF blocks. 2018-05-15 18:40:29 +00:00
MustExecute [LICM] Extend the MustExecute scope 2018-05-18 04:56:28 +00:00
PostDominators
ProfileSummary
RegionInfo
ScalarEvolution [SimplifyIndVars] Ignore dead users 2018-06-13 02:25:32 +00:00
ScopedNoAliasAA
TypeBasedAliasAnalysis
ValueTracking Fix aliasing of launder.invariant.group 2018-05-23 09:16:44 +00:00
alias-analysis-uses.ll