Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
llvm
/
c2c28fc24cc0c7886da93939b0279d3f444b35dc
/
.
/
test
/
CFrontend
/
2005-07-20-SqrtNoErrno.c
blob: fd976a679331167bbb7b3971293a7e7c38d2698a [
file
] [
log
] [
blame
]
// RUN: %llvmgcc %s -S -o - -fno-math-errno | gccas | llvm-dis | grep llvm.sqrt
#include
<math.h>
float
foo
(
float
X
)
{
// Check that this compiles to llvm.sqrt when errno is ignored.
return
sqrtf
(
X
);
}