diff options
author | Eli Friedman <efriedma@codeaurora.org> | 2017-02-24 20:51:36 +0000 |
---|---|---|
committer | Eli Friedman <efriedma@codeaurora.org> | 2017-02-24 20:51:36 +0000 |
commit | c12a5a7595d30996804dc41e7150aec4e19e7c0a (patch) | |
tree | a419e1b2d7ae6f061416e38a8c2ddf59442a3d64 /llvm/lib/Analysis/LazyValueInfo.cpp | |
parent | cc0573b03fdc1ecfe88e255e71dcf947d831b457 (diff) | |
download | bcm5719-llvm-c12a5a7595d30996804dc41e7150aec4e19e7c0a.tar.gz bcm5719-llvm-c12a5a7595d30996804dc41e7150aec4e19e7c0a.zip |
[CodeGenPrepare] Make -addr-sink-using-gep work with address spaces.
When we construct addressing modes, we use isNoopAddrSpaceCast to ignore
addrspacecast instructions. Make sure we insert the correct addrspacecast
when we reconstruct the addressing mode.
Differential Revision: https://reviews.llvm.org/D30114
llvm-svn: 296167
Diffstat (limited to 'llvm/lib/Analysis/LazyValueInfo.cpp')
0 files changed, 0 insertions, 0 deletions