summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/isnan.llx
blob: fb02c1f5ddccd87ca758c326d498a020d4477b42 (plain)
1
2
3
4
5
6
7
; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | not grep call
declare bool %llvm.isunordered(double)

bool %test_isnan(double %X) {
	%R = call bool %llvm.isunordered(double %X, double %X)
	ret bool %R
}