diff options
author | Eric Liu <ioeric@google.com> | 2019-01-30 11:24:04 +0000 |
---|---|---|
committer | Eric Liu <ioeric@google.com> | 2019-01-30 11:24:04 +0000 |
commit | 6f68048d69b8097a4346cf4255d7b7683e4b53e6 (patch) | |
tree | 8322cc308ac7b3ff8f5ef8353604c98a611f21d2 /clang/test/SemaOpenCL | |
parent | eb71ff34e114e7621a1966a28bab22da728e970c (diff) | |
download | bcm5719-llvm-6f68048d69b8097a4346cf4255d7b7683e4b53e6.tar.gz bcm5719-llvm-6f68048d69b8097a4346cf4255d7b7683e4b53e6.zip |
[OpenGL] Fix test on PPC after r352540
Summary:
Specify -triple like test/SemaOpenCL/logical-ops.cl. Otherwise, this test fails
on PPC.
Reviewers: bkramer
Subscribers: Anastasia, cfe-commits
Differential Revision: https://reviews.llvm.org/D57442
llvm-svn: 352618
Diffstat (limited to 'clang/test/SemaOpenCL')
-rw-r--r-- | clang/test/SemaOpenCL/format-strings-fixit.cl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/SemaOpenCL/format-strings-fixit.cl b/clang/test/SemaOpenCL/format-strings-fixit.cl index f30fb756b35..533e64d7ca2 100644 --- a/clang/test/SemaOpenCL/format-strings-fixit.cl +++ b/clang/test/SemaOpenCL/format-strings-fixit.cl @@ -1,7 +1,7 @@ // RUN: cp %s %t -// RUN: %clang_cc1 -cl-std=CL1.2 -pedantic -Wall -fixit %t -// RUN: %clang_cc1 -cl-std=CL1.2 -fsyntax-only -pedantic -Wall -Werror %t -// RUN: %clang_cc1 -cl-std=CL1.2 -E -o - %t | FileCheck %s +// RUN: %clang_cc1 -cl-std=CL1.2 -pedantic -Wall -fixit %t -triple x86_64-unknown-linux-gnu +// RUN: %clang_cc1 -cl-std=CL1.2 -fsyntax-only -pedantic -Wall -Werror %t -triple x86_64-unknown-linux-gnu +// RUN: %clang_cc1 -cl-std=CL1.2 -E -o - %t -triple x86_64-unknown-linux-gnu | FileCheck %s #pragma OPENCL EXTENSION cl_khr_fp64 : enable |