llvm-6502/lib/Transforms/InstCombine
Nadav Rotem 0286ca89f0 InstCombine optimizes gep(bitcast(x)) even when the bitcasts casts away address
space info. We crash with an assert in this case. This change checks that the
address space of the bitcasted pointer is the same as the gep ptr.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128884 91177308-0d34-0410-b5e6-96231b3b80d8
2011-04-05 14:29:52 +00:00
..
CMakeLists.txt
InstCombine.h InstCombine: Move (sext icmp) transforms into their own method. No intended functionality change. 2011-04-01 20:09:03 +00:00
InstCombineAddSub.cpp
InstCombineAndOrXor.cpp InstCombine: Add a few missing combines for ANDs and ORs of sign bit tests. 2011-03-29 22:06:41 +00:00
InstCombineCalls.cpp Use APInt's umul_ov instead of rolling our own overflow detection. 2011-03-27 15:04:38 +00:00
InstCombineCasts.cpp While SimplifyDemandedBits constant folds this, we can't rely on it here. 2011-04-02 18:50:58 +00:00
InstCombineCompares.cpp InstCombine: APFloat can't perform arithmetic on PPC double doubles, don't even try. 2011-03-31 21:35:49 +00:00
InstCombineLoadStoreAlloca.cpp Remove PHINode::reserveOperandSpace(). Instead, add a parameter to 2011-03-30 11:28:46 +00:00
InstCombineMulDivRem.cpp InstCombine: If the divisor of an fdiv has an exact inverse, turn it into an fmul. 2011-03-30 15:42:35 +00:00
InstCombinePHI.cpp Remove PHINode::reserveOperandSpace(). Instead, add a parameter to 2011-03-30 11:28:46 +00:00
InstCombineSelect.cpp Remove tabs I accidentally added. 2011-03-28 17:48:26 +00:00
InstCombineShifts.cpp
InstCombineSimplifyDemanded.cpp PR9346: Prevent SimplifyDemandedBits from incorrectly introducing 2011-03-09 01:28:35 +00:00
InstCombineVectorOps.cpp Instcombile optimization: extractelement(cast) -> cast(extractelement) 2011-03-31 22:57:29 +00:00
InstCombineWorklist.h
InstructionCombining.cpp InstCombine optimizes gep(bitcast(x)) even when the bitcasts casts away address 2011-04-05 14:29:52 +00:00
Makefile