mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-02 10:33:53 +00:00
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:
parent
02348caffc
commit
a32579b8f8
7
test/CodeGen/X86/isnan.llx
Normal file
7
test/CodeGen/X86/isnan.llx
Normal 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
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user