summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/inline-asm.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/inline-asm.ll')
-rw-r--r--test/CodeGen/X86/inline-asm.ll8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/CodeGen/X86/inline-asm.ll b/test/CodeGen/X86/inline-asm.ll
index de14509188..a38596df62 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
+}
+