Sign in
ara-mdk
/
platform
/
external
/
clang
/
abc0bea57d4e659d5cde178a4bb426acc48f999e
/
.
/
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
}