From cd60c1fb742813df2aa9d85ed6bf219b44bb4b29 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Tue, 8 Sep 2009 14:14:24 +0000 Subject: [PATCH] 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 --- test/MC/AsmParser/conditional_asm.s | 2 +- test/MC/AsmParser/labels.s | 4 ++-- test/MC/AsmParser/x86_operands.s | 10 +++++----- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/test/MC/AsmParser/conditional_asm.s b/test/MC/AsmParser/conditional_asm.s index b9ff6705900..b8a514fb4fa 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 39b40cd7357..53da7edf97c 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 f21cf3472e9..433c9bf7729 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