aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/AsmParser/directive_space.s
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-19 18:52:28 +0000
committerChris Lattner <sabre@nondot.org>2010-01-19 18:52:28 +0000
commit6113b3d32396168f8f390343d426baa9f64e9009 (patch)
treec3d23cc24f6f3bdf668a02c6a5a8317c4cc207d1 /test/MC/AsmParser/directive_space.s
parentddf6bdde44287b5b559bc403a02ff971e15e8303 (diff)
downloadexternal_llvm-6113b3d32396168f8f390343d426baa9f64e9009.zip
external_llvm-6113b3d32396168f8f390343d426baa9f64e9009.tar.gz
external_llvm-6113b3d32396168f8f390343d426baa9f64e9009.tar.bz2
add an MCAsmStreamer::EmitFill specialization of EmitFill that
emits one directive instead of N. Not doing this would be a significant regression on the # bytes generated by .fill. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93889 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/AsmParser/directive_space.s')
-rw-r--r--test/MC/AsmParser/directive_space.s7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/MC/AsmParser/directive_space.s b/test/MC/AsmParser/directive_space.s
index a897654..e6353a4 100644
--- a/test/MC/AsmParser/directive_space.s
+++ b/test/MC/AsmParser/directive_space.s
@@ -1,12 +1,11 @@
-# RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
+# RUN: llvm-mc -triple i386-apple-darwin %s | FileCheck %s
# CHECK: TEST0:
-# CHECK: .byte 0
+# CHECK: .space 1
TEST0:
.space 1
# CHECK: TEST1:
-# CHECK: .byte 3
-# CHECK: .byte 3
+# CHECK: .space 2,3
TEST1:
.space 2, 3