diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2018-06-26 18:55:43 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2018-06-26 18:55:43 +0000 |
commit | 7e991d30c0fc2f2fb0510dfdd0a1e7053e64170e (patch) | |
tree | 280b16d28a6ab71f2fac6724e3534687d67b8135 /llvm/test/CodeGen | |
parent | 78ff0f1b83d3ec6c8a446417570490207f4d7bc3 (diff) | |
download | bcm5719-llvm-7e991d30c0fc2f2fb0510dfdd0a1e7053e64170e.tar.gz bcm5719-llvm-7e991d30c0fc2f2fb0510dfdd0a1e7053e64170e.zip |
ConstantFold: Don't fold global address vs. null for addrspace != 0
Not sure why this logic seems to be repeated in 2 different places,
one called by the other.
On AMDGPU addrspace(3) globals start allocating at 0, so these
checks will be incorrect (not that real code actually tries
to compare these addresses)
llvm-svn: 335649
Diffstat (limited to 'llvm/test/CodeGen')
0 files changed, 0 insertions, 0 deletions