Add this test back, the check pattern was too strict.
authorDaniel Dunbar <daniel@zuster.org>
Fri, 31 Jul 2009 03:11:49 +0000 (03:11 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Fri, 31 Jul 2009 03:11:49 +0000 (03:11 +0000)
llvm-svn: 77662

llvm/test/MC/AsmParser/x86_instructions.s [new file with mode: 0644]

diff --git a/llvm/test/MC/AsmParser/x86_instructions.s b/llvm/test/MC/AsmParser/x86_instructions.s
new file mode 100644 (file)
index 0000000..acffd57
--- /dev/null
@@ -0,0 +1,7 @@
+// FIXME: Switch back to FileCheck once we print actual instructions
+
+// RUN: llvm-mc -triple i386-unknown-unknown %s > %t
+
+# Simple instructions
+        subb %al, %al
+// RUN: grep {MCInst(opcode=.*, operands=.reg:2, reg:0, reg:2.)} %t