[flang][cuda] Adapt ExternalNameConversion to work in gpu module (#117039)
[llvm-project.git] / clang / test / CodeGenOpenCL / no-signed-zeros.cl
blob13ce480ebe6eece80a18d756e111536eff7a9d51
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
4 float signedzeros(float a) {
5 return a;
8 // CHECK: attributes
9 // NORMAL-NOT: "no-signed-zeros-fp-math"
10 // NO-SIGNED-ZEROS: "no-signed-zeros-fp-math"="true"