aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-06-08 18:20:13 +0000
committerChris Lattner <sabre@nondot.org>2006-06-08 18:20:13 +0000
commit5591c5183b9edfa57f7441fcadbb4a234a830ef7 (patch)
tree1fb01665535b60cbae959c054d5c24b1230bc463
parentab4d9b044659481351f3b17d70429230b8c3ff17 (diff)
New testcase, using "AX" as i32.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28730 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGen/X86/inline-asm.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CodeGen/X86/inline-asm.ll b/test/CodeGen/X86/inline-asm.ll
new file mode 100644
index 0000000000..de14509188
--- /dev/null
+++ b/test/CodeGen/X86/inline-asm.ll
@@ -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
+}
+