aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-05-06 14:46:38 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-05-06 14:46:38 +0000
commit5fe03c023cd47a718759a3a4dc1d8e33297ae0fc (patch)
tree9a0e339dc81e4fe36c07507505414951e1e0206d /test/MC
parentb63387afc6b10e88631d1ef232c41ab6c18c8581 (diff)
downloadexternal_llvm-5fe03c023cd47a718759a3a4dc1d8e33297ae0fc.zip
external_llvm-5fe03c023cd47a718759a3a4dc1d8e33297ae0fc.tar.gz
external_llvm-5fe03c023cd47a718759a3a4dc1d8e33297ae0fc.tar.bz2
Revert r103137, fix for $ in labels. It looks like we can't actually handle this
at the token level. Consider the following horrible test case: a = 1 .globl $a movl ($a), %eax movl $a, %eax movl $$a, %eax git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103178 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r--test/MC/AsmParser/X86/x86_operands.s4
-rw-r--r--test/MC/AsmParser/labels.s7
2 files changed, 3 insertions, 8 deletions
diff --git a/test/MC/AsmParser/X86/x86_operands.s b/test/MC/AsmParser/X86/x86_operands.s
index cd54a0b..bf958d8 100644
--- a/test/MC/AsmParser/X86/x86_operands.s
+++ b/test/MC/AsmParser/X86/x86_operands.s
@@ -1,3 +1,5 @@
+// FIXME: Actually test that we get the expected results.
+
// RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
# Immediates
@@ -5,7 +7,7 @@
addl $1, %eax
# CHECK: addl $3, %eax
addl $(1+2), %eax
-# CHECK: addl ($a), %eax
+# CHECK: addl $a, %eax
addl $a, %eax
# CHECK: addl $3, %eax
addl $1 + 2, %eax
diff --git a/test/MC/AsmParser/labels.s b/test/MC/AsmParser/labels.s
index c5a064f..3bc7e63 100644
--- a/test/MC/AsmParser/labels.s
+++ b/test/MC/AsmParser/labels.s
@@ -57,10 +57,3 @@ foo:
// CHECK: .long "a 9"
.long "a 9"
-
-
-// rdar://7946934
-// CHECK: .globl $abc
- .globl $abc
-
- \ No newline at end of file