Debian Codegraph @

clang/test/CodeGenOpenCL/no-signed-zeros.cl

raw
1 // RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s -check-prefix=NORMAL
2 // RUN: %clang_cc1 %s -emit-llvm -cl-no-signed-zeros -o - | FileCheck %s -check-prefix=NO-SIGNED-ZEROS
3
4 float signedzeros(float a) {
5 return a;
6 }
7
8 // CHECK: attributes
9 // NORMAL-NOT: "no-signed-zeros-fp-math"
10 // NO-SIGNED-ZEROS: "no-signed-zeros-fp-math"="true"