llvm-6502/lib/Transforms/Scalar
Chris Lattner 33a6113995 Move some code around.
Make the "fold (and (cast A), (cast B)) -> (cast (and A, B))" transformation
only apply when both casts really will cause code to be generated.  If one or
both doesn't, then this xform doesn't remove a cast.

This fixes Transforms/InstCombine/2006-05-06-Infloop.ll


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28141 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-06 09:00:16 +00:00
..
ADCE.cpp Make iostream #inclusion explicit 2006-01-22 23:32:06 +00:00
BasicBlockPlacement.cpp
CondPropagate.cpp
ConstantProp.cpp
CorrelatedExprs.cpp Teach cee to propagate through switch statements. This implements 2006-03-19 19:37:24 +00:00
DCE.cpp
DeadStoreElimination.cpp
GCSE.cpp Switch these to using ETForest instead of DominatorSet to compute itself. 2006-01-11 05:10:20 +00:00
IndVarSimplify.cpp
InstructionCombining.cpp Move some code around. 2006-05-06 09:00:16 +00:00
LICM.cpp Make iostream #inclusion explicit 2006-01-22 23:32:06 +00:00
LoopStrengthReduce.cpp Get rid of a signed/unsigned compare warning. 2006-04-12 19:28:15 +00:00
LoopUnroll.cpp Make iostream #inclusion explicit 2006-01-22 23:32:06 +00:00
LoopUnswitch.cpp add the actual cost to the debug info 2006-03-24 07:14:00 +00:00
LowerGC.cpp FunctionPass's cannot do IPO things. 2006-01-14 19:30:35 +00:00
LowerPacked.cpp Lowerpacked and SCCP support for the insertelement operation. 2006-01-17 20:06:55 +00:00
Makefile
Reassociate.cpp Fix Transforms/Reassociate/2006-04-27-ReassociateVector.ll 2006-04-28 04:14:49 +00:00
Reg2Mem.cpp
ScalarReplAggregates.cpp Fix Transforms/ScalarRepl/2006-04-20-PromoteCrash.ll 2006-04-20 20:48:50 +00:00
SCCP.cpp Add supprot for shufflevector 2006-04-08 01:19:12 +00:00
SimplifyCFG.cpp
TailDuplication.cpp Make iostream #inclusion explicit 2006-01-22 23:32:06 +00:00
TailRecursionElimination.cpp