summaryrefslogtreecommitdiff
path: root/test/MC
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-31 03:11:49 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-31 03:11:49 +0000
commitb6804e91267381427866dfc1ae3d88abd02ddf14 (patch)
tree033302eeb0e787b7216fc58b2adb8c6bd593a024 /test/MC
parentc5b19b21d84814d19692a6bbea11fbd135f4b094 (diff)
downloadllvm-b6804e91267381427866dfc1ae3d88abd02ddf14.tar.gz
llvm-b6804e91267381427866dfc1ae3d88abd02ddf14.tar.bz2
llvm-b6804e91267381427866dfc1ae3d88abd02ddf14.tar.xz
Add this test back, the check pattern was too strict.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77662 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r--test/MC/AsmParser/x86_instructions.s7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/MC/AsmParser/x86_instructions.s b/test/MC/AsmParser/x86_instructions.s
new file mode 100644
index 0000000000..acffd570de
--- /dev/null
+++ b/test/MC/AsmParser/x86_instructions.s
@@ -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