1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test/Analysis
Florian Hahn a5255ebc0e [ConstantFold] Handle identity folds at top of ConstantFoldBinaryInst
Currently we miss folds with undef and identity values for binary ops
that do not fold to undef in general.

We can generalize the identity simplifications and do them before
checking for undef in particular.

Alive checks:
 * OR - https://rise4fun.com/Alive/8OsK
 * AND - https://rise4fun.com/Alive/e3tE

This will also allow us to remove some now redundant cases throughout
the function, but I would like to do this as follow-up. That should make
tracking down potential issues easier.

Reviewers: spatel, RKSimon, lebedev.ri

Reviewed By: spatel

Differential Revision: https://reviews.llvm.org/D70169
2019-11-17 21:30:14 +00:00
..
AliasSet
AssumptionCache
BasicAA [SimplifyLibCalls] Mark known arguments with nonnull 2019-09-17 09:32:52 +00:00
BlockFrequencyInfo
BranchProbabilityInfo [BPI] Adjust the probability for floating point unordered comparison 2019-09-10 17:25:11 +00:00
CallGraph Revert "[CallGraph] Refine call graph for indirect calls with !callees metadata" 2019-08-16 10:59:18 +00:00
CFLAliasAnalysis
ConstantFolding [ConstantFold] Handle identity folds at top of ConstantFoldBinaryInst 2019-11-17 21:30:14 +00:00
CostModel [X86] Remove setOperationAction for FP_TO_SINT v8i16. 2019-11-12 22:45:52 -08:00
DDG [DDG] Data Dependence Graph - Pi Block 2019-11-08 15:46:08 -05:00
Delinearization
DemandedBits
DependenceAnalysis [NFC] Test commit access 2019-09-16 20:44:15 +00:00
DivergenceAnalysis [SDA] Don't stop divergence propagation at the IPD. 2019-09-18 13:40:22 +00:00
DominanceFrontier
Dominators
GlobalsModRef Remove commented out CHECK-NEXT to try and appease llvm-clang-x86_64-expensive-checks-win buildbot 2019-11-13 14:59:12 +00:00
IVUsers
LazyCallGraph Revert "[CallGraph] Refine call graph for indirect calls with !callees metadata" 2019-08-16 10:59:18 +00:00
LazyValueAnalysis [Analysis] Update Analysis/LazyValueAnalysis/lvi-after-jumpthreading.ll 2019-10-23 18:39:10 +03:00
LegacyDivergenceAnalysis
Lint
LoopAccessAnalysis Revert "[IRBuilder] Fold consistently for or/and whether constant is LHS or RHS" 2019-07-07 22:12:01 +00:00
LoopCacheAnalysis/PowerPC [LoopCacheAnalysis]: Fix assertion failure during cost computation 2019-11-15 14:56:26 -05:00
LoopInfo
MemoryDependenceAnalysis
MemorySSA [MemorySSA] Update for partial unswitch. 2019-10-14 23:52:39 +00:00
MustExecute [MustExecute] Forward iterate over conditional branches 2019-10-31 00:06:43 -05:00
PhiValues
PostDominators
ProfileSummary
RegionInfo
ScalarEvolution [SCEV] Simplify umin/max of zext and sext of the same value 2019-10-19 17:23:02 +00:00
ScopedNoAliasAA
StackSafetyAnalysis
TypeBasedAliasAnalysis [SimplifyLibCalls] Mark known arguments with nonnull 2019-09-17 09:32:52 +00:00
ValueTracking [IR][Verifier] Allow IntToPtrInst to be !dereferenceable 2019-07-23 17:19:56 +00:00
alias-analysis-uses.ll