[AMDGPU] Fix size and alignment of size_t and pointer types
authorYaxun Liu <Yaxun.Liu@amd.com>
Wed, 5 Jul 2017 04:58:24 +0000 (04:58 +0000)
committerYaxun Liu <Yaxun.Liu@amd.com>
Wed, 5 Jul 2017 04:58:24 +0000 (04:58 +0000)
commit25d1b4341f0a96e68a312052284ece5114a3ace0
tree758f2aaf60a5b549ef90a8030cd2244cd856aeef
parent845a7968bce2857ae1c13ff2789ed70ece6c01a7
[AMDGPU] Fix size and alignment of size_t and pointer types

Differential Revision: https://reviews.llvm.org/D34995

llvm-svn: 307121
clang/lib/Basic/Targets.cpp
clang/test/CodeGen/default-address-space.c
clang/test/CodeGenCXX/amdgcn-automatic-variable.cpp
clang/test/CodeGenOpenCL/amdgcn-automatic-variable.cl
clang/test/CodeGenOpenCL/amdgpu-nullptr.cl
clang/test/CodeGenOpenCL/amdgpu-sizeof-alignof.cl [new file with mode: 0644]
clang/test/Index/pipe-size.cl
clang/test/SemaCXX/amdgpu-sizeof-alignof.cpp [new file with mode: 0644]