diff options
-rw-r--r-- | test/CodeGen/X86/inline-asm.ll | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/CodeGen/X86/inline-asm.ll b/test/CodeGen/X86/inline-asm.ll index de14509..a38596d 100644 --- a/test/CodeGen/X86/inline-asm.ll +++ b/test/CodeGen/X86/inline-asm.ll @@ -2,7 +2,13 @@ int %test1() { ; Dest is AX, dest type = i32. - %tmp4 = call int asm sideeffect "FROB %0", "={ax}"() + %tmp4 = call int asm sideeffect "FROB $0", "={ax}"() ret int %tmp4 } +void %test2(int %V) { + ; input is AX, in type = i32. + call void asm sideeffect "FROB $0", "{ax}"(int %V) + ret void +} + |