1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 15:32:52 +01:00
llvm-mirror/test/Regression/CodeGen/X86/inline-asm.ll

15 lines
303 B
LLVM
Raw Normal View History

; RUN: llvm-as < %s | llc -march=x86
int %test1() {
; Dest is AX, dest type = i32.
2006-06-08 20:26:48 +02:00
%tmp4 = call int asm sideeffect "FROB $0", "={ax}"()
ret int %tmp4
}
2006-06-08 20:26:48 +02:00
void %test2(int %V) {
; input is AX, in type = i32.
call void asm sideeffect "FROB $0", "{ax}"(int %V)
ret void
}