llvm-6502/lib/Transforms/Scalar
Chris Lattner 3ddfb21306 The select instruction is not neccesarily in the same block as the
phi nodes.  Make sure to phi translate from the right block. 

This fixes a llvm-building-llvm failure on GVN-PRE.cpp


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82970 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-28 06:49:44 +00:00
..
ADCE.cpp
BasicBlockPlacement.cpp
CMakeLists.txt
CodeGenLICM.cpp Nick pointed out that DominanceFrontier and DominanceTree are preserved 2009-09-21 17:54:42 +00:00
CodeGenPrepare.cpp
CondPropagate.cpp
ConstantProp.cpp
DCE.cpp
DeadStoreElimination.cpp
GVN.cpp simplify some code. 2009-09-27 21:46:50 +00:00
GVNPRE.cpp
IndVarSimplify.cpp Instruction::clone does not need to take an LLVMContext&. Remove that and 2009-09-27 07:38:41 +00:00
InstructionCombining.cpp The select instruction is not neccesarily in the same block as the 2009-09-28 06:49:44 +00:00
JumpThreading.cpp Instruction::clone does not need to take an LLVMContext&. Remove that and 2009-09-27 07:38:41 +00:00
LICM.cpp Grab an LLVM Context from an instruction that exists rather than one 2009-09-27 16:10:30 +00:00
LoopDeletion.cpp
LoopIndexSplit.cpp
LoopRotation.cpp Tell ScalarEvolution to forget everything it knows about a loop before 2009-09-27 15:37:03 +00:00
LoopStrengthReduce.cpp Instruction::clone does not need to take an LLVMContext&. Remove that and 2009-09-27 07:38:41 +00:00
LoopUnroll.cpp
LoopUnswitch.cpp
Makefile
MemCpyOptimizer.cpp
PredicateSimplifier.cpp
Reassociate.cpp calls are already unmovable, malloc doesn't need a special case. 2009-09-27 21:36:19 +00:00
Reg2Mem.cpp
Scalar.cpp
ScalarReplAggregates.cpp
SCCP.cpp calls to external functions are already marked overdefined, special casing 2009-09-27 21:35:11 +00:00
SimplifyCFGPass.cpp
SimplifyHalfPowrLibCalls.cpp
SimplifyLibCalls.cpp Fix SimplifyLibCalls to transfer attributes from callees rather than 2009-09-26 18:10:13 +00:00
TailDuplication.cpp calls are rejected above, no need to special case malloc here. 2009-09-27 21:31:39 +00:00
TailRecursionElimination.cpp