diff options
author | Neil Hickey <neil.hickey@arm.com> | 2016-12-13 17:04:33 +0000 |
---|---|---|
committer | Neil Hickey <neil.hickey@arm.com> | 2016-12-13 17:04:33 +0000 |
commit | c881be1c234012eb2f22c15f5c13237071b109e1 (patch) | |
tree | 82c6a5d263489785008d756749bb8b0567aa4d8a /clang | |
parent | bc48d20ef77713852f4f0543956c116e8098e44d (diff) | |
download | bcm5719-llvm-c881be1c234012eb2f22c15f5c13237071b109e1.tar.gz bcm5719-llvm-c881be1c234012eb2f22c15f5c13237071b109e1.zip |
Fixing build failure by adding triple option to new test condition.
Adding -triple option to ensure target supports double for fpmath test.
llvm-svn: 289552
Diffstat (limited to 'clang')
-rw-r--r-- | clang/test/CodeGenOpenCL/fpmath.cl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGenOpenCL/fpmath.cl b/clang/test/CodeGenOpenCL/fpmath.cl index bbfdd9c495c..8908861ace8 100644 --- a/clang/test/CodeGenOpenCL/fpmath.cl +++ b/clang/test/CodeGenOpenCL/fpmath.cl @@ -1,7 +1,7 @@ // RUN: %clang_cc1 %s -emit-llvm -o - -triple spir-unknown-unknown | FileCheck --check-prefix=CHECK --check-prefix=NODIVOPT %s // RUN: %clang_cc1 %s -emit-llvm -o - -triple spir-unknown-unknown -cl-fp32-correctly-rounded-divide-sqrt | FileCheck --check-prefix=CHECK --check-prefix=DIVOPT %s // RUN: %clang_cc1 %s -emit-llvm -o - -DNOFP64 -cl-std=CL1.2 -triple r600-unknown-unknown -target-cpu r600 -pedantic | FileCheck --check-prefix=CHECK-FLT %s -// RUN: %clang_cc1 %s -emit-llvm -o - -DFP64 -cl-std=CL1.2 -pedantic | FileCheck --check-prefix=CHECK-DBL %s +// RUN: %clang_cc1 %s -emit-llvm -o - -DFP64 -cl-std=CL1.2 -triple spir-unknown-unknown -pedantic | FileCheck --check-prefix=CHECK-DBL %s typedef __attribute__(( ext_vector_type(4) )) float float4; |