aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-17 18:56:34 +0000
committerChris Lattner <sabre@nondot.org>2010-04-17 18:56:34 +0000
commitfd0530b37dd99d879e2f16bbd89ad74e9fc7cb3f (patch)
tree4ea90a963db29bfa1027bfe973718d4a08ed4d90 /test/MC
parent4c6fb79ad85125a0916f5ebecb23c9c5dc736a11 (diff)
downloadexternal_llvm-fd0530b37dd99d879e2f16bbd89ad74e9fc7cb3f.zip
external_llvm-fd0530b37dd99d879e2f16bbd89ad74e9fc7cb3f.tar.gz
external_llvm-fd0530b37dd99d879e2f16bbd89ad74e9fc7cb3f.tar.bz2
teach the x86 asm parser how to handle segment prefixes
in memory operands. rdar://7874844 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101661 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r--test/MC/AsmParser/X86/x86_operands.s4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/MC/AsmParser/X86/x86_operands.s b/test/MC/AsmParser/X86/x86_operands.s
index edddd1f..bf958d8 100644
--- a/test/MC/AsmParser/X86/x86_operands.s
+++ b/test/MC/AsmParser/X86/x86_operands.s
@@ -55,4 +55,6 @@
# CHECK: call *4(%eax)
call *4(%eax)
-
+# CHECK: movl %gs:8, %eax
+movl %gs:8, %eax
+