- Jan 05, 2014
-
-
Craig Topper authored
Mark the 64-bit x86 push/pop instructions as In64BitMode. Mark the corresponding 32-bit versions with the same encodings Not64BitMode. Remove hack from tablegen disassembler table emitter. Fix bad test. llvm-svn: 198530
-
- Dec 28, 2013
-
-
Saleem Abdulrasool authored
Avoid double diagnostics for invalid expressions for count. Improve caret location for negative count. llvm-svn: 198099
-
Saleem Abdulrasool authored
The GNU assembler supports .rep as an alias for .rept. This simply creates the alias for it and introduces a test for both .rept and .rep. llvm-svn: 198097
-
- Dec 18, 2013
-
-
Saleem Abdulrasool authored
The .end directive indicates the end of the file. No further instructions are processed after a .end directive is encountered. One potential (glaringly obvious) optimisation that could be pursued here is to extend MCAsmParser with a DiscardRemainder method to avoid processing lexemes to the end of the file. It was unclear at this point if that would be worth adding, and could easily be added in a follow on change. Signed-off-by:
Saleem Abdulrasool <compnerd@compnerd.org> llvm-svn: 197547
-
- Sep 27, 2013
-
-
Adrian Prantl authored
CFE produces it to indicate artificial locations. c.f.: DWARF standard, Table 6.2: line -- An unsigned integer indicating a source line number. Lines are numbered beginning at 1. The compiler may emit the value 0 in cases where an instruction cannot be attributed to any source line. llvm-svn: 191471
-
- Sep 26, 2013
-
-
Venkatraman Govindaraju authored
llvm-svn: 191431
-
- Sep 24, 2013
-
-
Roman Divacky authored
llvm-svn: 191318
-
- Sep 05, 2013
-
-
Yunzhong Gao authored
allow escaped octal character sequences. The patch was discussed in Phabricator. See: http://llvm-reviews.chandlerc.com/D1289 llvm-svn: 190089
-
- Aug 16, 2013
-
-
Daniel Dunbar authored
- Instead of setting the suffixes in a bunch of places, just set one master list in the top-level config. We now only modify the suffix list in a few suites that have one particular unique suffix (.ml, .mc, .yaml, .td, .py). - Aside from removing the need for a bunch of lit.local.cfg files, this enables 4 tests that were inadvertently being skipped (one in Transforms/BranchFolding, a .s file each in DebugInfo/AArch64 and CodeGen/PowerPC, and one in CodeGen/SI which is now failing and has been XFAILED). - This commit also fixes a bunch of config files to use config.root instead of older copy-pasted code. llvm-svn: 188513
-
- Aug 14, 2013
-
-
Tim Northover authored
Somehow I forgot to test one of the error conditions I'd added. llvm-svn: 188372
-
Tim Northover authored
It's useful to be able to write down floating-point numbers without having to worry about what they'll be rounded to (as C99 discovered), this extends that ability to the MC assembly parsers. llvm-svn: 188370
-
- Jul 19, 2013
-
-
NAKAMURA Takumi authored
llvm-svn: 186643
-
- Jul 18, 2013
-
-
Hans Wennborg authored
This should fix the chapuni bots. llvm-svn: 186611
-
Rafael Espindola authored
It also doubles a test that F_Append works. llvm-svn: 186606
-
- Jul 03, 2013
-
-
Rafael Espindola authored
llvm-svn: 185554
-
- May 07, 2013
-
-
Kevin Enderby authored
A = 9 B = 3 * A - 2 * A + 1 as B = 3 * A - (2 * A + 1) rdar://13816516 llvm-svn: 181366
-
- Apr 12, 2013
-
-
Nico Rieck authored
llvm-svn: 179361
-
- Feb 26, 2013
-
-
Jim Grosbach authored
For integer constants, allow 'L', 'UL' as well as 'ULL' and 'LL'. This provides better support for shared headers between .s and .c files that define bunches of constant values. rdar://9321056 llvm-svn: 176118
-
- Feb 16, 2013
-
-
Benjamin Kramer authored
GNU as rejects them and there are configure scripts in the wild that check if the assembler rejects ".align 3" to determine whether the alignment is in bytes or powers of two. llvm-svn: 175360
-
Joerg Sonnenberger authored
so. llvm-svn: 175327
-
- Sep 19, 2012
-
-
Preston Gurd authored
to improve compatibility with GNU as. Based on a patch by PaX Team. Fixed assertion failures on non-Darwin and added additional test cases. llvm-svn: 164248
-
Preston Gurd authored
This patch is based on the one by PaX Team. Patch by Andy Zhang! llvm-svn: 164246
-
Preston Gurd authored
The directive can be matched with directives other than '.rept' Patch by Andy Zhang! llvm-svn: 164245
-
- Sep 07, 2012
-
-
Benjamin Kramer authored
- Darwin lied about not supporting .lcomm and turned it into zerofill in the asm parser. Push the zerofill-conversion down into macho-specific code. - This makes the tri-state LCOMMType enum superfluous, there are no targets without .lcomm. - Do proper error reporting when trying to use .lcomm with alignment on a target that doesn't support it. - .comm and .lcomm alignment was parsed in bytes on COFF, should be power of 2. - Fixes PR13755 (.lcomm crashes on ELF). llvm-svn: 163395
-
- Aug 21, 2012
-
-
Rafael Espindola authored
on a patch by Andy/PaX. I added the support for dot and dollar. llvm-svn: 162298
-
Rafael Espindola authored
consistent with the other "expected identifier" errors. Extracted from the Andy/PaX patch. I added the test. llvm-svn: 162291
-
- Jul 31, 2012
-
-
Jim Grosbach authored
Empty macro arguments at the end of the list should be as-if not specified at all, but those in the middle of the list need to be kept so as not to screw up the positional numbering. E.g.: .macro foo foo_-bash___: nop .endm foo 1, 2, 3, 4 foo 1, , 3, 4 Should create two labels, "foo_1_2_3_4" and "foo_1__3_4". rdar://11948769 llvm-svn: 161002
-
- Jul 02, 2012
-
-
Chandler Carruth authored
versions of Bash. In addition, I can back out the change to the lit built-in shell test runner to support this. This should fix the majority of fallout on Darwin, but I suspect there will be a few straggling issues. llvm-svn: 159544
-
- Jun 16, 2012
-
-
Rafael Espindola authored
llvm-svn: 158604
-
- Jun 15, 2012
-
-
Rafael Espindola authored
Patch extracted from a larger one by the PaX team. I added the testcases and tightened error handling a bit. llvm-svn: 158523
-
- May 12, 2012
-
-
Rafael Espindola authored
for nesting. llvm-svn: 156714
-
Benjamin Kramer authored
Based on a patch by Team PaX. llvm-svn: 156709
-
Benjamin Kramer authored
llvm-svn: 156707
-
Benjamin Kramer authored
Based on a patch from PaX Team. llvm-svn: 156706
-
Benjamin Kramer authored
Based on a patch from PaX Team. llvm-svn: 156705
-
- May 01, 2012
-
-
Jim Grosbach authored
Previously, an unsupported/unknown assembler directive issued a warning. That's generally unsafe, and inconsistent with the behaviour of pretty much every system assembler. Now that the MC assemblers are mature enough to be the default on multiple targets, it's reasonable to issue errors for these. For target or platform directives that need to stay warnings, we should add explicit handlers for them in, e.g., ELFAsmParser.cpp, DarwinAsmParser.cpp, et. al., and issue the warning there. rdar://9246275 llvm-svn: 155926
-
- Apr 16, 2012
-
-
Jim Grosbach authored
A trailing comma means no argument at all (i.e., as if the comma were not present), not an empty argument to the invokee. rdar://11252521 llvm-svn: 154863
-
- Mar 25, 2012
-
-
Eli Bendersky authored
* Removed test/lib/llvm.exp - it is no longer needed * Deleted the dg.exp reading code from test/lit.cfg. There are no dg.exp files left in the test suite so this code is no longer required. test/lit.cfg is now much shorter and clearer * Removed a lot of duplicate code in lit.local.cfg files that need access to the root configuration, by adding a "root" attribute to the TestingConfig object. This attribute is dynamically computed to provide the same information as was previously provided by the custom getRoot functions. * Documented the config.root attribute in docs/CommandGuide/lit.pod llvm-svn: 153408
-
- Mar 20, 2012
-
-
Jim Grosbach authored
rdar://11027851 llvm-svn: 153137
-
- Mar 17, 2012
-
-
Jim Grosbach authored
evaluated to '1' when the argument list was empty (should be '0'). rdar://11057257 llvm-svn: 152967
-