llvm.org GIT mirror llvm / release_21 test / CodeGen / X86 / isnan.llx
release_21

Tree @release_21 (Download .tar.gz)

isnan.llx @release_21raw · history · blame

1
2
3
4
5
6
7
; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | not grep call
declare bool %llvm.isunordered.f64(double)

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