[PATCH] D23361: [OpenCL] AMDGCN: Fix size_t type
Yaxun Liu via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 10 11:06:00 PDT 2016
yaxunl created this revision.
yaxunl added reviewers: nhaustov, Anastasia.
yaxunl added subscribers: cfe-commits, tstellarAMD.
Pointers of certain GPUs in AMDGCN target in private address space is 32 bit but pointers in other address spaces are 64 bit. size_t type should be defined as 64 bit for these GPUs so that it could hold pointers in all address spaces.
https://reviews.llvm.org/D23361
Files:
include/clang/Basic/TargetInfo.h
lib/Basic/TargetInfo.cpp
lib/Basic/Targets.cpp
lib/CodeGen/CodeGenModule.cpp
test/CodeGenOpenCL/size_t.cl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23361.67554.patch
Type: text/x-patch
Size: 4451 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160810/f21e11da/attachment-0001.bin>
More information about the cfe-commits
mailing list