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