commit | 35934f8100acc605f9f938bc84c838c22390b01f | [log] [tgz] |
---|---|---|
author | Yaxun Liu <Yaxun.Liu@amd.com> | Sat Nov 04 17:37:43 2017 +0000 |
committer | Yaxun Liu <Yaxun.Liu@amd.com> | Sat Nov 04 17:37:43 2017 +0000 |
tree | c844187b598e6421fc703b59cd6f5ffecda7b1c8 | |
parent | dcf1ffe8a0867a311092f2379195e9b646e42c1d [diff] |
[AMDGPU] Remove hardcoded address space value from AMDGPULibFunc AMDGPULibFunc hardcodes address space values of the old address space mapping, which causes invalid addrspacecast instructions and undefined functions in APPSDK sample MonteCarloAsianDP. This patch fixes that. Differential Revision: https://reviews.llvm.org/D39616 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317409 91177308-0d34-0410-b5e6-96231b3b80d8