llvm-6502/lib/Transforms/Scalar
Chris Lattner 2de2319124 Fix PR4748: don't fold gep(bitcast(x)) into bitcast(gep) when x
is itself a bitcast.  Since we have gep(bitcast(bitcast(y))) in this
case, just wait for the two bitcasts to get zapped.  This prevents
instcombine from confusing some aliasing stuff, and allows it to
directly eliminate the load in the testcase.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80508 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-30 20:38:21 +00:00
..
ADCE.cpp Allow readonly functions to unwind exceptions. Teach 2009-05-06 06:49:50 +00:00
BasicBlockPlacement.cpp More ProfileInfo improvements. 2009-08-08 17:43:09 +00:00
CMakeLists.txt Fix linking of llvm-ld and lli with CMake, from Xerxes Rånby 2009-06-26 15:37:00 +00:00
CodeGenPrepare.cpp Eliminate the unused Context argument on one of the ICmpInst and FCmpInst 2009-08-25 23:17:54 +00:00
CondPropagate.cpp Kill off more cerr/cout uses and prune includes a bit. 2009-08-23 11:37:21 +00:00
ConstantProp.cpp Get rid of the Pass+Context magic. 2009-07-22 00:24:57 +00:00
DCE.cpp
DeadStoreElimination.cpp Fix this condition I accidentally inverted. 2009-07-24 18:31:07 +00:00
GVN.cpp Make this into a static method. 2009-08-26 22:55:11 +00:00
GVNPRE.cpp Remove unused variables. 2009-08-26 00:13:22 +00:00
IndVarSimplify.cpp Special-case static allocas in IndVarSimplify's loop invariant 2009-08-25 17:42:10 +00:00
InstructionCombining.cpp Fix PR4748: don't fold gep(bitcast(x)) into bitcast(gep) when x 2009-08-30 20:38:21 +00:00
JumpThreading.cpp Push LLVMContexts through the IntegerType APIs. 2009-08-13 21:58:54 +00:00
LICM.cpp eliminate the "Value" printing methods that print to a std::ostream. 2009-08-23 04:37:46 +00:00
LoopDeletion.cpp Make makeLoopInvariant report whether it made any changes or not, 2009-07-15 01:25:43 +00:00
LoopIndexSplit.cpp Fix PR3913, patch by Jakub Staszak! 2009-08-28 00:43:14 +00:00
LoopRotation.cpp Push LLVMContexts through the IntegerType APIs. 2009-08-13 21:58:54 +00:00
LoopStrengthReduce.cpp eliminate the "Value" printing methods that print to a std::ostream. 2009-08-23 04:37:46 +00:00
LoopUnroll.cpp Simplify conditional. 2009-08-13 03:05:20 +00:00
LoopUnswitch.cpp eliminate the "Value" printing methods that print to a std::ostream. 2009-08-23 04:37:46 +00:00
Makefile
MemCpyOptimizer.cpp eliminate the "Value" printing methods that print to a std::ostream. 2009-08-23 04:37:46 +00:00
PredicateSimplifier.cpp eliminate uses of cerr() 2009-08-23 07:05:07 +00:00
Reassociate.cpp remove the std::ostream version of module and type printing. 2009-08-23 04:52:46 +00:00
Reg2Mem.cpp Push LLVMContexts through the IntegerType APIs. 2009-08-13 21:58:54 +00:00
Scalar.cpp
ScalarReplAggregates.cpp eliminate the "Value" printing methods that print to a std::ostream. 2009-08-23 04:37:46 +00:00
SCCP.cpp add getPointerAddressSpace() to GEP instruction, use the method 2009-08-30 20:06:40 +00:00
SimplifyCFGPass.cpp add getPointerAddressSpace() to GEP instruction, use the method 2009-08-30 20:06:40 +00:00
SimplifyHalfPowrLibCalls.cpp Remove Value::getName{Start,End}, the last of the old Name APIs. 2009-07-26 09:48:23 +00:00
SimplifyLibCalls.cpp Fix SimplifyLibcalls and ValueTracking to check mayBeOverridden 2009-08-19 00:11:12 +00:00
TailDuplication.cpp eliminate the "Value" printing methods that print to a std::ostream. 2009-08-23 04:37:46 +00:00
TailRecursionElimination.cpp Push LLVMContexts through the IntegerType APIs. 2009-08-13 21:58:54 +00:00