llvm-6502/test/Transforms
David Majnemer 7c5cb20b30 Merging r221318:
------------------------------------------------------------------------
r221318 | majnemer | 2014-11-04 15:49:08 -0800 (Tue, 04 Nov 2014) | 10 lines

Analysis: Make isSafeToSpeculativelyExecute fire less for divides

Divides and remainder operations do not behave like other operations
when they are given poison: they turn into undefined behavior.

It's really hard to know if the operands going into a div are or are not
poison.  Because of this, we should only choose to speculate if there
are constant operands which we can easily reason about.

This fixes PR21412.
------------------------------------------------------------------------


git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_35@223647 91177308-0d34-0410-b5e6-96231b3b80d8
2014-12-08 09:16:46 +00:00
..
ADCE
AddDiscriminators
ArgumentPromotion
AtomicExpandLoadLinked/ARM
BBVectorize
BranchFolding
CodeExtractor
CodeGenPrepare
ConstantHoisting
ConstantMerge
ConstProp
CorrelatedValuePropagation
DeadArgElim
DeadStoreElimination
DebugIR
EarlyCSE
FunctionAttrs
GCOVProfiling Merging r220401: 2014-11-05 20:14:56 +00:00
GlobalDCE
GlobalOpt
GVN
IndVarSimplify Merging rr217102: 2014-12-08 08:50:22 +00:00
Inline
InstCombine I did not intend to merge these in. 2014-12-08 09:15:41 +00:00
InstMerge MergedLoadStoreMotion pass 2014-07-18 19:13:09 +00:00
InstSimplify
Internalize
IPConstantProp
JumpThreading
LCSSA
LICM Merging r221318: 2014-12-08 09:16:46 +00:00
LoadCombine
LoopDeletion
LoopIdiom
LoopReroll
LoopRotate
LoopSimplify
LoopStrengthReduce
LoopUnroll Remove unroll pragma metadata after it is used. 2014-07-18 21:04:33 +00:00
LoopUnswitch
LoopVectorize Merging rr221501: 2014-12-08 08:49:20 +00:00
LowerAtomic
LowerExpectIntrinsic
LowerInvoke
LowerSwitch
Mem2Reg
MemCpyOpt
MergeFunc
MetaRenamer
ObjCARC
PhaseOrdering
PruneEH
Reassociate
Reg2Mem
SampleProfile
Scalarizer
ScalarRepl
SCCP
SeparateConstOffsetFromGEP/NVPTX
SimplifyCFG Merging r213884: 2014-07-29 23:40:11 +00:00
Sink
SLPVectorizer
SROA Fix merge conflict & minor test output differences 2014-12-08 09:10:57 +00:00
StripSymbols
StructurizeCFG
TailCallElim Merging r213726: 2014-08-04 04:28:45 +00:00
TailDup