summaryrefslogtreecommitdiff
path: root/test/MC
diff options
context:
space:
mode:
authorAndrew V. Tischenko <andrew.v.tischenko@gmail.com>2017-12-26 18:29:52 +0000
committerAndrew V. Tischenko <andrew.v.tischenko@gmail.com>2017-12-26 18:29:52 +0000
commitb533eb62feffeac0b695b855f6c839a5c5188b49 (patch)
treea5a88672c4de2470a95c36da4ed1157f0acc7780 /test/MC
parentba5e1fbe8d22fd8cc29e3b654c66ed7c39584fe4 (diff)
It's a fix for Bug 35741 - can't use comments after x86 prefixes.
Differential Revision: https://reviews.llvm.org/D41579 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@321459 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r--test/MC/X86/x86-64.s4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/MC/X86/x86-64.s b/test/MC/X86/x86-64.s
index b1e89cde979..23846d921a8 100644
--- a/test/MC/X86/x86-64.s
+++ b/test/MC/X86/x86-64.s
@@ -99,6 +99,10 @@
// CHECK: shll $2, %eax
sall $2, %eax
+// CHECK: rep movsb
+rep # comment
+movsb
+
// CHECK: rep
// CHECK: insb
rep;insb