r352544 - OpenCL: Try to fix bot test failure

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 29 13:14:57 PST 2019


Author: arsenm
Date: Tue Jan 29 13:14:56 2019
New Revision: 352544

URL: http://llvm.org/viewvc/llvm-project?rev=352544&view=rev
Log:
OpenCL: Try to fix bot test failure

Modified:
    cfe/trunk/test/SemaOpenCL/format-strings-fixit.cl

Modified: cfe/trunk/test/SemaOpenCL/format-strings-fixit.cl
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaOpenCL/format-strings-fixit.cl?rev=352544&r1=352543&r2=352544&view=diff
==============================================================================
--- cfe/trunk/test/SemaOpenCL/format-strings-fixit.cl (original)
+++ cfe/trunk/test/SemaOpenCL/format-strings-fixit.cl Tue Jan 29 13:14:56 2019
@@ -3,6 +3,8 @@
 // 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
 
+#pragma OPENCL EXTENSION cl_khr_fp64 : enable
+
 typedef __attribute__((ext_vector_type(4))) char char4;
 typedef __attribute__((ext_vector_type(4))) short short4;
 typedef __attribute__((ext_vector_type(4))) int int4;




More information about the cfe-commits mailing list