Bill Wendling
2a302210d0
Correct compatibility with the GNU Assembler's handling of comparison ops
...
GAS returns -1 for a comparison operator if the result is true and 0 if false.
https://www.sourceware.org/binutils/docs-2.12/as.info/Infix-Ops.html#Infix%20Ops
llvm-svn: 332215
2018-05-14 05:25:36 +00:00
Petr Hosek
67a94a795d
[MC] Support symbolic expressions in assembly directives
...
This matches the behavior of GNU assembler which supports symbolic
expressions in absolute expressions used in assembly directives.
Differential Revision: http://reviews.llvm.org/D20752
llvm-svn: 271102
2016-05-28 05:57:48 +00:00
Petr Hosek
97859ccd51
Revert "[MC] Support symbolic expressions in assembly directives"
...
This reverts commit r271028, it causes the directive_fill.s to fail.
llvm-svn: 271038
2016-05-27 19:58:05 +00:00
Petr Hosek
ec73d8b383
[MC] Support symbolic expressions in assembly directives
...
This matches the behavior of GNU assembler which supports symbolic
expressions in absolute expressions used in assembly directives.
Differential Revision: http://reviews.llvm.org/D20656
llvm-svn: 271028
2016-05-27 18:49:44 +00:00
Reid Kleckner
63d3d6df7d
Revert "[MC] Support symbolic expressions in assembly directives"
...
This reverts commit r270786, it causes the directive_fill.s to fail.
llvm-svn: 270795
2016-05-25 23:29:08 +00:00
Petr Hosek
e25837528b
[MC] Support symbolic expressions in assembly directives
...
This matches the behavior of GNU assembler which supports symbolic
expressions in absolute expressions used in assembly directives.
Differential Revision: http://reviews.llvm.org/D20337
llvm-svn: 270786
2016-05-25 22:47:51 +00:00
Rafael Espindola
88bc341061
Add support for .skip.
...
Patch by Roman Divacky.
Fixes PR9361.
llvm-svn: 129106
2011-04-07 20:26:23 +00:00
Chris Lattner
4340cb3246
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.
llvm-svn: 93889
2010-01-19 18:52:28 +00:00
Daniel Dunbar
8c6bad2f66
llvm-mc: Add -triple, and start fetching the target asm printer.
...
llvm-svn: 76257
2009-07-17 22:38:58 +00:00
Chris Lattner
a3a9ebf506
Switch all the MC tests to use FileCheck.
...
llvm-svn: 75039
2009-07-08 20:50:34 +00:00
Daniel Dunbar
a10e519e04
Basic .s parsing for .asci[iz], .fill, .space, {.byte, .short, ... }
...
- Includes some DG tests in test/MC/AsmParser, which are rather primitive since
we don't have a -verify mode yet.
llvm-svn: 74139
2009-06-24 23:30:00 +00:00