aboutsummaryrefslogtreecommitdiff
path: root/llvm/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
commita069c6ce05736625a9b066572b3ecc7996e01a8f (patch)
tree14fe8ab3a8fabcf6724a22be4bca972f911e982d /llvm/lib/CodeGen/SplitKit.cpp
parent8d89b8e684a09ca241850c0ec17fb3f6a242bced (diff)
downloadllvm-a069c6ce05736625a9b066572b3ecc7996e01a8f.zip
llvm-a069c6ce05736625a9b066572b3ecc7996e01a8f.tar.gz
llvm-a069c6ce05736625a9b066572b3ecc7996e01a8f.tar.bz2
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. llvm-svn: 128884
Diffstat (limited to 'llvm/lib/CodeGen/SplitKit.cpp')
0 files changed, 0 insertions, 0 deletions