llvm-6502/lib/Transforms/Scalar
Duncan Sands 2d5f8ca3d1 Some reassociate optimizations create new instructions, which they insert just
before the expression root.  Any existing operators that are changed to use one
of them needs to be moved between it and the expression root, and recursively
for the operators using that one.  When I rewrote RewriteExprTree I accidentally
inverted the logic, resulting in the compacting going down from operators to
operands rather than up from operands to the operators using them, oops.  Fix
this, resolving PR12963.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159265 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-27 14:19:00 +00:00
..
ADCE.cpp
BasicBlockPlacement.cpp
BoundsChecking.cpp BoundsChecking: attach debug info to traps to make my life a bit more sane 2012-06-23 00:12:34 +00:00
CMakeLists.txt llvm/lib: [CMake] Add explicit dependency to intrinsics_gen. 2012-06-24 13:32:01 +00:00
CodeGenPrepare.cpp Switch the select to branch transformation on by default. 2012-05-06 14:25:16 +00:00
ConstantProp.cpp
CorrelatedValuePropagation.cpp
DCE.cpp
DeadStoreElimination.cpp refactor the MemoryBuiltin analysis: 2012-06-21 15:45:28 +00:00
EarlyCSE.cpp
GlobalMerge.cpp
GVN.cpp refactor the MemoryBuiltin analysis: 2012-06-21 15:45:28 +00:00
IndVarSimplify.cpp
JumpThreading.cpp
LICM.cpp
LLVMBuild.txt
LoopDeletion.cpp
LoopIdiomRecognize.cpp
LoopInstSimplify.cpp
LoopRotation.cpp
LoopStrengthReduce.cpp LSR: fix expansion of scaled reg in non-address type formulae. 2012-06-15 20:07:29 +00:00
LoopUnrollPass.cpp
LoopUnswitch.cpp Do not pass an invalid domtree to SimplifyInstruction from 2012-05-20 01:32:09 +00:00
LowerAtomic.cpp
Makefile
MemCpyOptimizer.cpp Move the capture analysis from MemoryDependencyAnalysis to a more general place 2012-05-14 20:35:04 +00:00
ObjCARC.cpp Fix the objc_autoreleasedReturnValue optimization code to locate 2012-06-25 19:47:37 +00:00
Reassociate.cpp Some reassociate optimizations create new instructions, which they insert just 2012-06-27 14:19:00 +00:00
Reg2Mem.cpp Fix typos found by http://github.com/lyda/misspell-check 2012-06-02 10:20:22 +00:00
Scalar.cpp add a new pass to instrument loads and stores for run-time bounds checking 2012-05-22 17:19:09 +00:00
ScalarReplAggregates.cpp Add a number of threshold arguments to the SRA pass. 2012-06-21 13:44:31 +00:00
SCCP.cpp
SimplifyCFGPass.cpp improve optimization of invoke instructions: 2012-06-25 17:11:47 +00:00
SimplifyLibCalls.cpp revert my previous commit (r159173), since as Eli pointed out, it's perfectly ok to mark realloc as noalias 2012-06-25 23:26:10 +00:00
Sink.cpp Enhance the sinking code to handle diamond patterns. Patch by 2012-05-31 08:09:49 +00:00
TailRecursionElimination.cpp