[PATCH] D33445: [AMDGPU] Do not require opencl triple environment for OpenCL
Yaxun Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue May 23 08:44:10 PDT 2017
yaxunl created this revision.
Herald added subscribers: t-tye, Anastasia, tpr, dstuttard, nhaehnle, wdng, kzhuravl.
A recent change requires opencl triple environment for compiling OpenCL
program, which causes regressions in libclc.
This patch fixes that. Instead of deducing language based on triple
environment, it checks LangOptions.
https://reviews.llvm.org/D33445
Files:
lib/Basic/Targets.cpp
test/CodeGenOpenCL/amdgpu-alignment.cl
test/CodeGenOpenCL/amdgpu-debug-info-pointer-address-space.cl
test/CodeGenOpenCL/amdgpu-debug-info-variable-expression.cl
test/CodeGenOpenCL/amdgpu-nullptr.cl
test/CodeGenOpenCL/builtins-amdgcn.cl
test/CodeGenOpenCL/byval.cl
test/CodeGenOpenCL/size_t.cl
test/Sema/sizeof-struct-non-zero-as-member.cl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33445.99921.patch
Type: text/x-patch
Size: 6394 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170523/feb55f15/attachment.bin>
More information about the cfe-commits
mailing list