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 | 8ab5ab066a744ff249e0e40d88502a366c1a2822 (patch) | |
tree | 8ff9cf94097b9dfab8922eaf2c6bedf8546af651 /clang/lib/AST/ExprConstant.cpp | |
parent | 63c7c040bc02972a0d0774361b338c1e1ae80675 (diff) | |
download | bcm5719-llvm-8ab5ab066a744ff249e0e40d88502a366c1a2822.tar.gz bcm5719-llvm-8ab5ab066a744ff249e0e40d88502a366c1a2822.zip |
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
llvm-svn: 316000
Diffstat (limited to 'clang/lib/AST/ExprConstant.cpp')
0 files changed, 0 insertions, 0 deletions