diff options
author | Nadav Rotem <nadav.rotem@intel.com> | 2011-04-05 14:29:52 +0000 |
---|---|---|
committer | Nadav Rotem <nadav.rotem@intel.com> | 2011-04-05 14:29:52 +0000 |
commit | 0286ca89f0734a81c273e80732a573f619c7ace4 (patch) | |
tree | c664441ac594a8c2bf50a1b207a4933d08e33762 /lib/CodeGen | |
parent | 45c435a24a048c53714c2ebda74037befaf8725c (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')
0 files changed, 0 insertions, 0 deletions