Check to make sure that isnan doesn't require calling a function

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14135 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-06-11 02:54:54 +00:00
parent 02348caffc
commit a32579b8f8

View File

@ -0,0 +1,7 @@
; RUN: llvm-as < %s | llc -march=x86 | not grep call
declare bool %llvm.isnan(double)
bool %test_isnan(double %X) {
%R = call bool %llvm.isnan(double %X)
ret bool %R
}