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