OSDN Git Service

Fix a bug in InstCombine where we would incorrectly attempt to construct a
authorOwen Anderson <resistor@mac.com>
Thu, 13 Mar 2014 22:51:43 +0000 (22:51 +0000)
committerOwen Anderson <resistor@mac.com>
Thu, 13 Mar 2014 22:51:43 +0000 (22:51 +0000)
commitd3fc1be4f634df136220ffc6e2ec381ae3f55c31
tree9ce58a4e5ae86196d2dea1a36144fe253adc5de4
parent43d5e074aa8c24506aedf6b7d95839fdd28030b7
Fix a bug in InstCombine where we would incorrectly attempt to construct a
bitcast between pointers of two different address spaces if they happened to have
the same pointer size.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203862 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
test/Transforms/InstCombine/load-addrspace-cast.ll [new file with mode: 0644]