[llvm-commits] [llvm] r81217 - in /llvm/trunk/test/MC/AsmParser: conditional_asm.s labels.s x86_operands.s
Dan Gohman
gohman at apple.com
Tue Sep 8 07:14:24 PDT 2009
Author: djg
Date: Tue Sep 8 09:14:24 2009
New Revision: 81217
URL: http://llvm.org/viewvc/llvm-project?rev=81217&view=rev
Log:
Unbreak these tests. Chris, please verify that these changes are intended.
Modified:
llvm/trunk/test/MC/AsmParser/conditional_asm.s
llvm/trunk/test/MC/AsmParser/labels.s
llvm/trunk/test/MC/AsmParser/x86_operands.s
Modified: llvm/trunk/test/MC/AsmParser/conditional_asm.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/AsmParser/conditional_asm.s?rev=81217&r1=81216&r2=81217&view=diff
==============================================================================
--- llvm/trunk/test/MC/AsmParser/conditional_asm.s (original)
+++ llvm/trunk/test/MC/AsmParser/conditional_asm.s Tue Sep 8 09:14:24 2009
@@ -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
Modified: llvm/trunk/test/MC/AsmParser/labels.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/AsmParser/labels.s?rev=81217&r1=81216&r2=81217&view=diff
==============================================================================
--- llvm/trunk/test/MC/AsmParser/labels.s (original)
+++ llvm/trunk/test/MC/AsmParser/labels.s Tue Sep 8 09:14:24 2009
@@ -15,7 +15,7 @@
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 @@
// 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"
Modified: llvm/trunk/test/MC/AsmParser/x86_operands.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/AsmParser/x86_operands.s?rev=81217&r1=81216&r2=81217&view=diff
==============================================================================
--- llvm/trunk/test/MC/AsmParser/x86_operands.s (original)
+++ llvm/trunk/test/MC/AsmParser/x86_operands.s Tue Sep 8 09:14:24 2009
@@ -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
More information about the llvm-commits
mailing list