mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-29 22:56:06 +00:00
11 lines
351 B
Common Lisp
11 lines
351 B
Common Lisp
![]() |
// 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"
|