mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-29 10:32:47 +00:00
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
|
||
|
}
|
||
|
|