-// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s -check-prefix=NORMAL\r
-// RUN: %clang_cc1 %s -emit-llvm -cl-no-signed-zeros -o - | FileCheck %s -check-prefix=NO-SIGNED-ZEROS\r
-\r
-float signedzeros(float a) {\r
- return a;\r
-}\r
-\r
-// CHECK: attributes\r
-// NORMAL: "no-signed-zeros-fp-math"="false"\r
-// NO-SIGNED-ZEROS: "no-signed-zeros-fp-math"="true"\r
+// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s -check-prefix=NORMAL
+// RUN: %clang_cc1 %s -emit-llvm -cl-no-signed-zeros -o - | FileCheck %s -check-prefix=NO-SIGNED-ZEROS
+
+float signedzeros(float a) {
+ return a;
+}
+
+// CHECK: attributes
+// NORMAL: "no-signed-zeros-fp-math"="false"
+// NO-SIGNED-ZEROS: "no-signed-zeros-fp-math"="true"
-// RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only -cl-std=CL2.0\r
-// expected-no-diagnostics\r
-\r
-__kernel void k1(queue_t q1, queue_t q2) {\r
- queue_t q[] = {q1, q2};\r
-}\r
-\r
-__kernel void k2(read_only pipe int p) {\r
- reserve_id_t i1 = reserve_read_pipe(p, 1);\r
- reserve_id_t i2 = reserve_read_pipe(p, 1);\r
- reserve_id_t i[] = {i1, i2};\r
-}\r
-\r
-event_t create_event();\r
-__kernel void k3() {\r
- event_t e1 = create_event();\r
- event_t e2 = create_event();\r
- event_t e[] = {e1, e2};\r
-}\r
-\r
+// RUN: %clang_cc1 %s -verify -pedantic -fsyntax-only -cl-std=CL2.0
+// expected-no-diagnostics
+
+__kernel void k1(queue_t q1, queue_t q2) {
+ queue_t q[] = {q1, q2};
+}
+
+__kernel void k2(read_only pipe int p) {
+ reserve_id_t i1 = reserve_read_pipe(p, 1);
+ reserve_id_t i2 = reserve_read_pipe(p, 1);
+ reserve_id_t i[] = {i1, i2};
+}
+
+event_t create_event();
+__kernel void k3() {
+ event_t e1 = create_event();
+ event_t e2 = create_event();
+ event_t e[] = {e1, e2};
+}
+