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
InstCombineCalls.cpp
InstCombineCasts.cpp While SimplifyDemandedBits constant folds this, we can't rely on it here. 2011-04-02 18:50:58 +00:00
InstCombineCompares.cpp
InstCombineLoadStoreAlloca.cpp
InstCombineMulDivRem.cpp
InstCombinePHI.cpp
InstCombineSelect.cpp
InstCombineShifts.cpp
InstCombineSimplifyDemanded.cpp
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