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