xref: /aosp_15_r20/external/llvm/test/CodeGen/X86/2008-10-20-AsmDoubleInI32.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -march=x86 -no-integrated-as
2*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -march=x86-64 -no-integrated-as
3*9880d681SAndroid Build Coastguard Worker
4*9880d681SAndroid Build Coastguard Worker; from gcc.c-torture/compile/920520-1.c
5*9880d681SAndroid Build Coastguard Worker
6*9880d681SAndroid Build Coastguard Workerdefine i32 @g() nounwind {
7*9880d681SAndroid Build Coastguard Workerentry:
8*9880d681SAndroid Build Coastguard Worker	call void asm sideeffect "$0", "r"(double 1.500000e+00) nounwind
9*9880d681SAndroid Build Coastguard Worker	ret i32 0
10*9880d681SAndroid Build Coastguard Worker}
11*9880d681SAndroid Build Coastguard Worker
12