1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
llvm-mirror/test/Transforms
Weiming Zhao 081f41bef8 Fix bug 25440: GVN assertion after coercing loads
Optimizations like LoadPRE in GVN will insert new instructions.
If the insertion point is in a already processed BB, they should
get a value number explicitly. If the insertion point is after
current instruction, then just leave it. However, current GVN framework
has no support for it.
In this patch, we just bail out if a VN can't be found.

Dfferential Revision: http://reviews.llvm.org/D14670

A    test/Transforms/GVN/pr25440.ll
M    lib/Transforms/Scalar/GVN.cpp

llvm-svn: 253536
2015-11-19 02:45:18 +00:00
..
ADCE [PM] Port ADCE to the new pass manager 2015-10-30 23:13:18 +00:00
AddDiscriminators Don't generate discriminators for calls to debug intrinsics 2015-11-16 10:40:38 +00:00
AlignmentFromAssumptions Change memcpy/memset/memmove to have dest and source alignments. 2015-11-18 22:17:24 +00:00
ArgumentPromotion DI: Reverse direction of subprogram -> function edge. 2015-11-05 22:03:56 +00:00
AtomicExpand
BBVectorize Change memcpy/memset/memmove to have dest and source alignments. 2015-11-18 22:17:24 +00:00
BDCE
BranchFolding
CodeExtractor
CodeGenPrepare Change memcpy/memset/memmove to have dest and source alignments. 2015-11-18 22:17:24 +00:00
ConstantHoisting
ConstantMerge
ConstProp
CorrelatedValuePropagation Change memcpy/memset/memmove to have dest and source alignments. 2015-11-18 22:17:24 +00:00
DeadArgElim DI: Reverse direction of subprogram -> function edge. 2015-11-05 22:03:56 +00:00
DeadStoreElimination Change memcpy/memset/memmove to have dest and source alignments. 2015-11-18 22:17:24 +00:00
EarlyCSE [EarlyCSE] Fix handling of target memory intrinsics for CSE'ing loads. 2015-10-07 07:41:29 +00:00
EliminateAvailableExternally
Float2Int
FunctionAttrs Vector of pointers in function attributes calculation 2015-11-17 19:30:51 +00:00
GCOVProfiling DI: Reverse direction of subprogram -> function edge. 2015-11-05 22:03:56 +00:00
GlobalDCE
GlobalOpt Change memcpy/memset/memmove to have dest and source alignments. 2015-11-18 22:17:24 +00:00
GVN Fix bug 25440: GVN assertion after coercing loads 2015-11-19 02:45:18 +00:00
IndVarSimplify Re-apply r251050 with a for PR25421 2015-11-05 23:45:38 +00:00
Inline Change memcpy/memset/memmove to have dest and source alignments. 2015-11-18 22:17:24 +00:00
InstCombine [SimplifyLibCalls] New trick: pow(x, 0.5) -> sqrt(x) under -ffast-math. 2015-11-18 23:21:32 +00:00
InstMerge
InstSimplify [ValueTracking] Teach isImpliedCondition a new bitwise trick 2015-11-10 23:56:20 +00:00
Internalize
IPConstantProp
IRCE
JumpThreading [JumpThreading] Use dominating conditions to prove implications 2015-10-28 21:27:08 +00:00
LCSSA
LICM Revert "Revert "Strip metadata when speculatively hoisting instructions (r252604)" 2015-11-18 14:50:18 +00:00
LoadCombine
LoopDeletion
LoopDistribute Allow LLE/LD and the loop versioning infrastructure to use SCEV predicates 2015-11-09 13:26:09 +00:00
LoopIdiom Change memcpy/memset/memmove to have dest and source alignments. 2015-11-18 22:17:24 +00:00
LoopInterchange
LoopLoadElim Allow LLE/LD and the loop versioning infrastructure to use SCEV predicates 2015-11-09 13:26:09 +00:00
LoopReroll DI: Reverse direction of subprogram -> function edge. 2015-11-05 22:03:56 +00:00
LoopRotate DI: Reverse direction of subprogram -> function edge. 2015-11-05 22:03:56 +00:00
LoopSimplify DI: Reverse direction of subprogram -> function edge. 2015-11-05 22:03:56 +00:00
LoopStrengthReduce [LoopStrengthReduce] Don't increment iterator past the end of the BB 2015-11-16 17:37:58 +00:00
LoopUnroll Don't recompute LCSSA after loop-unrolling when possible. 2015-11-14 05:51:41 +00:00
LoopUnswitch Teach LoopUnswitch not to perform non-trivial unswitching on loops containing convergent operations. 2015-10-09 18:40:20 +00:00
LoopVectorize [LoopVectorize] Address post-commit feedback on r250032 2015-11-09 14:32:05 +00:00
LowerAtomic
LowerBitSets
LowerExpectIntrinsic [PM] Port StripDeadPrototypes to the new pass manager 2015-10-30 23:28:12 +00:00
LowerInvoke
LowerSwitch
Mem2Reg DI: Reverse direction of subprogram -> function edge. 2015-11-05 22:03:56 +00:00
MemCpyOpt Change memcpy/memset/memmove to have dest and source alignments. 2015-11-18 22:17:24 +00:00
MergeFunc Change memcpy/memset/memmove to have dest and source alignments. 2015-11-18 22:17:24 +00:00
MetaRenamer Change memcpy/memset/memmove to have dest and source alignments. 2015-11-18 22:17:24 +00:00
NaryReassociate [NaryReassociate] SeenExprs records WeakVH 2015-10-01 03:51:44 +00:00
ObjCARC Change memcpy/memset/memmove to have dest and source alignments. 2015-11-18 22:17:24 +00:00
PartiallyInlineLibCalls
PhaseOrdering
PlaceSafepoints Change memcpy/memset/memmove to have dest and source alignments. 2015-11-18 22:17:24 +00:00
PruneEH
Reassociate Add intermediate subtract instructions to reassociation worklist. 2015-11-16 18:07:30 +00:00
Reg2Mem
RewriteStatepointsForGC [RS4GC] Strip noalias attribute after statepoint rewrite 2015-10-26 19:06:01 +00:00
SafeStack [safestack] Rewrite isAllocaSafe using SCEV. 2015-11-13 21:21:42 +00:00
SampleProfile [llvm-profdata] Add check for text profile formats and improve error reporting (2nd try) 2015-11-13 03:47:58 +00:00
Scalarizer DI: Reverse direction of subprogram -> function edge. 2015-11-05 22:03:56 +00:00
ScalarRepl Change memcpy/memset/memmove to have dest and source alignments. 2015-11-18 22:17:24 +00:00
SCCP
SeparateConstOffsetFromGEP
SimplifyCFG Revert "Revert "Strip metadata when speculatively hoisting instructions (r252604)" 2015-11-18 14:50:18 +00:00
Sink [Sink] Don't move landingpads 2015-11-16 04:47:58 +00:00
SLPVectorizer Fix SLPVectorizer commutativity reordering 2015-11-06 20:17:51 +00:00
SpeculativeExecution
SROA Change memcpy/memset/memmove to have dest and source alignments. 2015-11-18 22:17:24 +00:00
StraightLineStrengthReduce
StripDeadPrototypes [PM] Port StripDeadPrototypes to the new pass manager 2015-10-30 23:28:12 +00:00
StripSymbols DI: Reverse direction of subprogram -> function edge. 2015-11-05 22:03:56 +00:00
StructurizeCFG
TailCallElim Add 'notail' marker for call instructions. 2015-11-06 23:55:38 +00:00
TailDup
Util Change memcpy/memset/memmove to have dest and source alignments. 2015-11-18 22:17:24 +00:00