blob: fd976a679331167bbb7b3971293a7e7c38d2698a (
plain)
1
2
3
4
5
6
7
|
// 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);
}
|