summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-09-08 14:14:24 +0000
committerDan Gohman <gohman@apple.com>2009-09-08 14:14:24 +0000
commitce4265b24fa707a83b564c814a66d6f4ca7e76fe (patch)
treef6ff62baec323815e3e7c9c6495514398b16c068 /test
parentb246f53c4457fe7787ba675807eb78e8c4cdd540 (diff)
downloadexternal_llvm-ce4265b24fa707a83b564c814a66d6f4ca7e76fe.zip
external_llvm-ce4265b24fa707a83b564c814a66d6f4ca7e76fe.tar.gz
external_llvm-ce4265b24fa707a83b564c814a66d6f4ca7e76fe.tar.bz2
Unbreak these tests. Chris, please verify that these changes are intended.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81217 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/MC/AsmParser/conditional_asm.s2
-rw-r--r--test/MC/AsmParser/labels.s4
-rw-r--r--test/MC/AsmParser/x86_operands.s10
3 files changed, 8 insertions, 8 deletions
diff --git a/test/MC/AsmParser/conditional_asm.s b/test/MC/AsmParser/conditional_asm.s
index b9ff670..b8a514f 100644
--- a/test/MC/AsmParser/conditional_asm.s
+++ b/test/MC/AsmParser/conditional_asm.s
@@ -1,6 +1,6 @@
# RUN: llvm-mc -triple i386-unknown-unknown %s -I %p | FileCheck %s
-# CHECK: .byte (1 + 1)
+# CHECK: .byte 1+1
.if 1+2
.if 1-1
.byte 1
diff --git a/test/MC/AsmParser/labels.s b/test/MC/AsmParser/labels.s
index 39b40cd..53da7ed 100644
--- a/test/MC/AsmParser/labels.s
+++ b/test/MC/AsmParser/labels.s
@@ -15,7 +15,7 @@ a:
foo:
// CHECK: addl $24, a$b(%eax)
addl $24, "a$b"(%eax)
-// CHECK: addl $24, (a$b + 10)(%eax)
+// CHECK: addl $24, a$b+10(%eax)
addl $24, ("a$b" + 10)(%eax)
// CHECK: b$c = 10
@@ -52,7 +52,7 @@ foo:
// CHECX: .lsym "a 8",1
// .lsym "a 8", 1
-// CHECK: "a 9" = (a - b)
+// CHECK: "a 9" = a-b
.set "a 9", a - b
// CHECK: .long "a 9"
diff --git a/test/MC/AsmParser/x86_operands.s b/test/MC/AsmParser/x86_operands.s
index f21cf34..433c9bf 100644
--- a/test/MC/AsmParser/x86_operands.s
+++ b/test/MC/AsmParser/x86_operands.s
@@ -5,11 +5,11 @@
# Immediates
# CHECK: addl $1, %eax
addl $1, %eax
-# CHECK: addl $(1 + 2), %eax
+# CHECK: addl $1+2, %eax
addl $(1+2), %eax
# CHECK: addl $a, %eax
addl $a, %eax
-# CHECK: addl $(1 + 2), %eax
+# CHECK: addl $1+2, %eax
addl $1 + 2, %eax
# Disambiguation
@@ -18,15 +18,15 @@
#addl $1, 4+4
# FIXME: Add back when we can match this.
#addl $1, (4+4)
-# CHECK: addl $1, (4 + 4)(%eax)
+# CHECK: addl $1, 4+4(%eax)
addl $1, 4+4(%eax)
-# CHECK: addl $1, (4 + 4)(%eax)
+# CHECK: addl $1, 4+4(%eax)
addl $1, (4+4)(%eax)
# CHECK: addl $1, 8(%eax)
addl $1, 8(%eax)
# CHECK: addl $1, 0(%eax)
addl $1, (%eax)
-# CHECK: addl $1, (4 + 4)(,%eax)
+# CHECK: addl $1, 4+4(,%eax)
addl $1, (4+4)(,%eax)
# Indirect Memory Operands