OSDN Git Service

Add new testcase
authorChris Lattner <sabre@nondot.org>
Thu, 8 Jun 2006 18:26:48 +0000 (18:26 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 8 Jun 2006 18:26:48 +0000 (18:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28732 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/inline-asm.ll

index de14509..a38596d 100644 (file)
@@ -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
+}
+