diff options
author | Yaxun Liu <Yaxun.Liu@amd.com> | 2017-10-17 14:19:29 +0000 |
---|---|---|
committer | Yaxun Liu <Yaxun.Liu@amd.com> | 2017-10-17 14:19:29 +0000 |
commit | 2965315f6c905268a70d66170f12a59d507263df (patch) | |
tree | c8d11a19c0836d83611bffcfcafc1c4ed00205c1 /include/clang/Basic | |
parent | 942e003931fb4d7107fbe5e439966e1452e9ed33 (diff) |
CodeGen: Fix invalid bitcasts for atomic builtins
Currently clang assumes the temporary variables emitted during
codegen of atomic builtins have address space 0, which
is not true for target triple amdgcn---amdgiz and causes invalid
bitcasts.
This patch fixes that.
Differential Revision: https://reviews.llvm.org/D38966
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@316000 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic')
0 files changed, 0 insertions, 0 deletions