diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-06-29 23:46:59 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-06-29 23:46:59 +0000 |
commit | cc566a714bcc88152ff778c84331f2f1b9b66309 (patch) | |
tree | bb3b0bd4c85da81223e5ddc6273ee6e35d78dcc3 /llvm/test | |
parent | 0a9f9759a3f891b2f80a8bd9450853a4bc5fe12f (diff) | |
download | bcm5719-llvm-cc566a714bcc88152ff778c84331f2f1b9b66309.tar.gz bcm5719-llvm-cc566a714bcc88152ff778c84331f2f1b9b66309.zip |
llvm-mc: Parse .{,b,p2}align{,w,l} directives.
llvm-svn: 74478
Diffstat (limited to 'llvm/test')
-rw-r--r-- | llvm/test/MC/AsmParser/directive_align.s | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/llvm/test/MC/AsmParser/directive_align.s b/llvm/test/MC/AsmParser/directive_align.s new file mode 100644 index 00000000000..5715cb3fc05 --- /dev/null +++ b/llvm/test/MC/AsmParser/directive_align.s @@ -0,0 +1,16 @@ +# RUN: llvm-mc %s > %t + +# RUN: grep -A 2 TEST0 %t > %t2 +# RUN: grep ".p2align 1, 0" %t2 | count 1 +TEST0: + .align 1 + +# RUN: grep -A 2 TEST1 %t > %t2 +# RUN: grep ".p2alignl 3, 0, 2" %t2 | count 1 +TEST1: + .align32 3,,2 + +# RUN: grep -A 2 TEST2 %t > %t2 +# RUN: grep ".balign 3, 10" %t2 | count 1 +TEST2: + .balign 3,10 |