commit | 7e991d30c0fc2f2fb0510dfdd0a1e7053e64170e | [log] [tgz] |
---|---|---|
author | Matt Arsenault <Matthew.Arsenault@amd.com> | Tue Jun 26 18:55:43 2018 +0000 |
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | Tue Jun 26 18:55:43 2018 +0000 |
tree | 280b16d28a6ab71f2fac6724e3534687d67b8135 | |
parent | 78ff0f1b83d3ec6c8a446417570490207f4d7bc3 [diff] |
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