r232638 - Appease clang/test/Parser/opencl-atomics-cl20.cl for 32-bit targets with explicit triple.
NAKAMURA Takumi
geek4civic at gmail.com
Wed Mar 18 08:07:54 PDT 2015
Author: chapuni
Date: Wed Mar 18 10:07:54 2015
New Revision: 232638
URL: http://llvm.org/viewvc/llvm-project?rev=232638&view=rev
Log:
Appease clang/test/Parser/opencl-atomics-cl20.cl for 32-bit targets with explicit triple.
Modified:
cfe/trunk/test/Parser/opencl-atomics-cl20.cl
Modified: cfe/trunk/test/Parser/opencl-atomics-cl20.cl
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/opencl-atomics-cl20.cl?rev=232638&r1=232637&r2=232638&view=diff
==============================================================================
--- cfe/trunk/test/Parser/opencl-atomics-cl20.cl (original)
+++ cfe/trunk/test/Parser/opencl-atomics-cl20.cl Wed Mar 18 10:07:54 2015
@@ -1,6 +1,6 @@
-// RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only
-// RUN: %clang_cc1 %s -verify -fsyntax-only -cl-std=CL2.0 -DCL20
-// RUN: %clang_cc1 %s -verify -fsyntax-only -cl-std=CL2.0 -DCL20 -DEXT
+// RUN: %clang_cc1 %s -triple x86_64-unknown-unknown -verify -pedantic -fsyntax-only
+// RUN: %clang_cc1 %s -triple x86_64-unknown-unknown -verify -fsyntax-only -cl-std=CL2.0 -DCL20
+// RUN: %clang_cc1 %s -triple x86_64-unknown-unknown -verify -fsyntax-only -cl-std=CL2.0 -DCL20 -DEXT
#ifdef EXT
#pragma OPENCL EXTENSION cl_khr_int64_base_atomics:enable
More information about the cfe-commits
mailing list