]> granicus.if.org Git - clang/commit
[OpenCL] Fixes failures in test/Driver/opencl.cl.
authorYaxun Liu <Yaxun.Liu@amd.com>
Wed, 13 Jul 2016 21:21:05 +0000 (21:21 +0000)
committerYaxun Liu <Yaxun.Liu@amd.com>
Wed, 13 Jul 2016 21:21:05 +0000 (21:21 +0000)
commitd42f2ae10e935fe2af0876bfa5c2ccc91a3bdfd7
treea5d0080935d5c7d4523aa1dd353151d7f12a2ce4
parented59b3b6bdc73b41ed2ec2bd00820c746f883296
[OpenCL] Fixes failures in test/Driver/opencl.cl.

Also fixes strict-aliasing option to only be allowed when OpenCL Version 1.0. Added testcase in test/Frontend/opencl-blocks.cl.

Patch by Aaron En Ye Shi.

Differential Revision: http://reviews.llvm.org/D22170

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@275318 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Frontend/CompilerInvocation.cpp
test/Driver/opencl.cl
test/Frontend/opencl.cl [moved from test/Frontend/opencl-blocks.cl with 56% similarity]