llvm.org GIT mirror llvm / release_26 test / CodeGen / X86 / 2008-10-20-AsmDoubleInI32.ll
release_26

Tree @release_26 (Download .tar.gz)

2008-10-20-AsmDoubleInI32.ll @release_26raw · history · blame

; RUN: llvm-as < %s | llc -march=x86
; RUN: llvm-as < %s | llc -march=x86-64

; from gcc.c-torture/compile/920520-1.c

define i32 @g() nounwind {
entry:
	call void asm sideeffect "$0", "r"(double 1.500000e+00) nounwind
	ret i32 0
}