aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/AsmParser
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-08-31 08:09:09 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-08-31 08:09:09 +0000
commite2ace509fc1205bed97a5114b13534610d4dbf5e (patch)
treecc45bac3595da32dd301fe705ac49fa65a1d2599 /test/MC/AsmParser
parent883f920acb6d347c2be0c937302d621ca21ec9dd (diff)
downloadexternal_llvm-e2ace509fc1205bed97a5114b13534610d4dbf5e.zip
external_llvm-e2ace509fc1205bed97a5114b13534610d4dbf5e.tar.gz
external_llvm-e2ace509fc1205bed97a5114b13534610d4dbf5e.tar.bz2
llvm-mc: Simplify EmitAssignment ('.set' is identical to '=').
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80577 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/AsmParser')
-rw-r--r--test/MC/AsmParser/directive_include.s2
-rw-r--r--test/MC/AsmParser/directive_set.s2
-rw-r--r--test/MC/AsmParser/labels.s8
3 files changed, 6 insertions, 6 deletions
diff --git a/test/MC/AsmParser/directive_include.s b/test/MC/AsmParser/directive_include.s
index c6526eb..fabd941 100644
--- a/test/MC/AsmParser/directive_include.s
+++ b/test/MC/AsmParser/directive_include.s
@@ -2,7 +2,7 @@
# CHECK: TESTA:
# CHECK: TEST0:
-# CHECK: .set a, 0
+# CHECK: a = 0
# CHECK: TESTB:
TESTA:
.include "directive_set.s"
diff --git a/test/MC/AsmParser/directive_set.s b/test/MC/AsmParser/directive_set.s
index 8908566..f1fc30a 100644
--- a/test/MC/AsmParser/directive_set.s
+++ b/test/MC/AsmParser/directive_set.s
@@ -1,7 +1,7 @@
# RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
# CHECK: TEST0:
-# CHECK: .set a, 0
+# CHECK: a = 0
TEST0:
.set a, 0
diff --git a/test/MC/AsmParser/labels.s b/test/MC/AsmParser/labels.s
index 172ee8d..603d050 100644
--- a/test/MC/AsmParser/labels.s
+++ b/test/MC/AsmParser/labels.s
@@ -23,10 +23,10 @@ foo:
// CHECK: addl $"b$c", %eax
addl "b$c", %eax
-// CHECK: set "a 0", 11
+// CHECK: "a 0" = 11
.set "a 0", 11
-// CHECK: .long 11
+// CHECK: .long "a 0"
.long "a 0"
// XXCHCK: .section "a 1,a 2"
@@ -44,7 +44,7 @@ foo:
// CHECK: .comm "a 6",1
.comm "a 6", 1
-// CHECK: .zerofill __DATA,__bss,"a 7",1
+// CHECK: .zerofill __DATA,__bss,"a 7",1,0
.lcomm "a 7", 1
// FIXME: We don't bother to support .lsym.
@@ -52,7 +52,7 @@ foo:
// CHECX: .lsym "a 8",1
// .lsym "a 8", 1
-// CHECK: set "a 9", a - b
+// CHECK: "a 9" = a - b
.set "a 9", a - b
// CHECK: .long "a 9"