OSDN Git Service

New testcase, using "AX" as i32.
authorChris Lattner <sabre@nondot.org>
Thu, 8 Jun 2006 18:20:13 +0000 (18:20 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 8 Jun 2006 18:20:13 +0000 (18:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28730 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/inline-asm.ll [new file with mode: 0644]

diff --git a/test/CodeGen/X86/inline-asm.ll b/test/CodeGen/X86/inline-asm.ll
new file mode 100644 (file)
index 0000000..de14509
--- /dev/null
@@ -0,0 +1,8 @@
+; RUN: llvm-as < %s | llc -march=x86
+
+int %test1() {
+       ; Dest is AX, dest type = i32.
+        %tmp4 = call int asm sideeffect "FROB %0", "={ax}"()
+        ret int %tmp4
+}
+