Fix PR31896.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Tue, 21 Feb 2017 20:17:34 +0000 (20:17 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Tue, 21 Feb 2017 20:17:34 +0000 (20:17 +0000)
commit2c0dd61dd06c0a7d93e0b4ebdf758f1bedf6ab72
treea7fa0fb58d0d7189eaadddb03204cee988ed976b
parentf7ae53929112345281ffe6ec554a87b4f6b477e2
Fix PR31896.

Address of an alias of a global with offset is incorrectly lowered as an address of the global (i.e. ignoring offset).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@295762 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp
test/CodeGen/ARM/alias_store.ll [new file with mode: 0644]