You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
341 B
11 lines
341 B
// 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"
|