Sign in
ara-mdk
/
platform
/
external
/
clang
/
f3260565f46491a0d99e41d47a13767218242ce5
/
.
/
test
/
CodeGen
/
finite-math.c
blob: bf39cea42cea38b2905175e29c92f8c50ae7f67a [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -ffinite-math-only -emit-llvm -o - %s | FileCheck %s
float
f0
,
f1
,
f2
;
void
foo
(
void
)
{
// CHECK: define void @foo()
// CHECK: fadd nnan ninf
f0
=
f1
+
f2
;
// CHECK: ret
}