aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SplitKit.cpp
diff options
context:
space:
mode:
authorNadav Rotem <nadav.rotem@intel.com>2011-04-05 14:29:52 +0000
committerNadav Rotem <nadav.rotem@intel.com>2011-04-05 14:29:52 +0000
commit0286ca89f0734a81c273e80732a573f619c7ace4 (patch)
treec664441ac594a8c2bf50a1b207a4933d08e33762 /lib/CodeGen/SplitKit.cpp
parent45c435a24a048c53714c2ebda74037befaf8725c (diff)
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
Diffstat (limited to 'lib/CodeGen/SplitKit.cpp')
0 files changed, 0 insertions, 0 deletions