mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
c4a880e03c
for strange asm conditions earlier. In this case, we have a double being passed in an integer reg class. Convert to like sized integer register so that we allocate the right number for the class (two i32's for the f64 in this case). llvm-svn: 57862
12 lines
233 B
LLVM
12 lines
233 B
LLVM
; 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
|
|
}
|
|
|