11 lines · plain
1// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s -check-prefix=NORMAL2// RUN: %clang_cc1 %s -emit-llvm -cl-no-signed-zeros -o - | FileCheck %s -check-prefix=NO-SIGNED-ZEROS3 4float signedzeros(float a) {5 return a;6}7 8// CHECK: attributes9// NORMAL-NOT: "no-signed-zeros-fp-math"10// NO-SIGNED-ZEROS: "no-signed-zeros-fp-math"="true"11