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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77662 91177308-0d34-0410-b5e6-96231b3b80d8

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

diff --git a/test/MC/AsmParser/x86_instructions.s b/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