summaryrefslogtreecommitdiffstats
path: root/llvm/utils
Commit message (Collapse)AuthorAgeFilesLines
* [lit] Move ManyTests examples to lit/examples/many-tests.Daniel Dunbar2013-08-093-1/+18
| | | | llvm-svn: 188109
* [lit] Drop deprecated aliases for lit and old module names.Daniel Dunbar2013-08-093-14/+0
| | | | llvm-svn: 188108
* [lit] Update lit's own tests to use lit_config and lit package, as appropriate.Daniel Dunbar2013-08-0911-4/+15
| | | | llvm-svn: 188107
* [lit] Fix typo.Daniel Dunbar2013-08-091-1/+1
| | | | | | - Noticed by edward-san (IRC). llvm-svn: 188096
* [lit] Rename lit.{TestFormats,Util} to their aliased names {formats,util}.Daniel Dunbar2013-08-097-20/+24
| | | | | | | - With compatibility hack in lit.__init__, so this hopefully shouldn't break anything. llvm-svn: 188040
* [lit] Inject the lit specific config object as 'lit_config' when loading ↵Daniel Dunbar2013-08-091-0/+1
| | | | | | | | | | config files. - Injecting it as 'lit' is gross, since that name should be used to refer to the actual package. For now both are available so it is possibly to cleanup test config files incrementally. llvm-svn: 188039
* [lit] Split TestingConfig.frompath() into separate ctor and load methods.Daniel Dunbar2013-08-093-51/+58
| | | | llvm-svn: 188038
* [lit] Eliminate mustExist parameter from TestingConfig.frompath().Daniel Dunbar2013-08-093-37/+34
| | | | llvm-svn: 188034
* [lit] Only create config copies when a local config file is present.Daniel Dunbar2013-08-092-5/+12
| | | | llvm-svn: 188033
* [lit] Eliminate parent argument from TestingConfig.frompath(), which is ↵Daniel Dunbar2013-08-093-6/+12
| | | | | | effectively unused. llvm-svn: 188032
* [lit] Change --show-{tests,suites} to exit after printing.Daniel Dunbar2013-08-082-11/+9
| | | | | | - This is a more sensible behavior than printing and also running tests. llvm-svn: 188009
* [lit] Remove --repeat option, which wasn't that useful.Daniel Dunbar2013-08-083-18/+0
| | | | llvm-svn: 188008
* [lit] Eliminate some nested imports.Daniel Dunbar2013-08-084-13/+8
| | | | llvm-svn: 188007
* [lit] Remove on_clone member, which is no longer used.Daniel Dunbar2013-08-081-12/+7
| | | | llvm-svn: 188006
* [lit] Remove unnecessary list copy.Daniel Dunbar2013-08-071-1/+1
| | | | llvm-svn: 187934
* [lit] Always list individual UNRESOLVED tests.Daniel Dunbar2013-08-071-2/+3
| | | | llvm-svn: 187933
* [lit] Explicitly convert dict items() result to a list.Daniel Dunbar2013-08-071-1/+1
| | | | llvm-svn: 187932
* [lit] Make string encoding issues explicit.Daniel Dunbar2013-08-072-1/+6
| | | | llvm-svn: 187931
* [lit] Report the traceback when config import fails.Daniel Dunbar2013-08-071-0/+5
| | | | llvm-svn: 187920
* [lit] Avoid comparisons with None.Daniel Dunbar2013-08-071-1/+3
| | | | llvm-svn: 187919
* [lit] Use list comprehensions instead of map().Daniel Dunbar2013-08-073-3/+4
| | | | llvm-svn: 187918
* [lit] Avoid deprecated dict.has_key() method.Daniel Dunbar2013-08-071-2/+2
| | | | llvm-svn: 187917
* lit/LitConfig.py: Fixup for msys bash.NAKAMURA Takumi2013-08-071-1/+1
| | | | llvm-svn: 187896
* Lit: Fixup in r187886.NAKAMURA Takumi2013-08-071-1/+1
| | | | llvm-svn: 187887
* Lit: Resurrect --no-execute dropped in r187852.NAKAMURA Takumi2013-08-075-1/+14
| | | | | | For now, builders in bb.pgr.jp are using it. llvm-svn: 187886
* [lit] Use py2&3 compatible exec() syntax.Daniel Dunbar2013-08-071-1/+7
| | | | llvm-svn: 187862
* [lit] Use newer StringIO class.Daniel Dunbar2013-08-071-17/+19
| | | | llvm-svn: 187861
* [lit] Use modern absolute/relative import style.Daniel Dunbar2013-08-076-76/+84
| | | | llvm-svn: 187860
* [lit] Avoid __cmp__ and cmp().Daniel Dunbar2013-08-071-12/+12
| | | | llvm-svn: 187859
* [lit] Avoid use of iterator .next() method.Daniel Dunbar2013-08-072-12/+10
| | | | llvm-svn: 187858
* [lit] Use .write() methods instead of print statement.Daniel Dunbar2013-08-076-27/+26
| | | | llvm-svn: 187857
* [lit] Use dual-compatible print() syntax where possible.Daniel Dunbar2013-08-072-33/+31
| | | | llvm-svn: 187856
* [lit] Remove use of deprecated parameter tuple unpacking.Daniel Dunbar2013-08-072-3/+3
| | | | llvm-svn: 187855
* [lit] Remove uses of deprecated except syntax.Daniel Dunbar2013-08-073-4/+7
| | | | | | | - Since we only have a few of these, use the cumbersome method of getting the exception object from 'sys' to retain the current pre-2.6 compatibility. llvm-svn: 187854
* [lit] Use more modern syntax for constructing exceptions.Daniel Dunbar2013-08-073-10/+13
| | | | llvm-svn: 187853
* [lit] Drop --no-execute, which isn't generally useful.Daniel Dunbar2013-08-075-14/+1
| | | | llvm-svn: 187852
* [lit] tests: Change discovery test to use --show-tests.Daniel Dunbar2013-08-071-25/+31
| | | | llvm-svn: 187851
* [lit] Add a --show-tests option.Daniel Dunbar2013-08-071-7/+21
| | | | llvm-svn: 187850
* [lit] Remove dead ignoreStdError argument.Daniel Dunbar2013-08-073-5/+1
| | | | llvm-svn: 187849
* Remove some std stream usage from Support and TableGenReid Kleckner2013-08-061-1/+2
| | | | | | | | | | LLVM's coding standards recommend raw_ostream and MemoryBuffer for reading and writing text. This has the side effect of allowing clang to compile more of Support and TableGen in the Microsoft C++ ABI. llvm-svn: 187826
* Fix handling of CHECK-DAG combined with CHECK-NOTTim Northover2013-08-021-2/+1
| | | | | | Patch by Daniel Sanders. llvm-svn: 187651
* Moving definition of MnemonicContainsDot field from class Instruction to ↵Vladimir Medic2013-08-011-2/+1
| | | | | | class AsmParser as suggested. llvm-svn: 187569
* Option parsing: remove non-SUPPORT_ALIASARGS fall-backHans Wennborg2013-07-311-14/+2
| | | | | | | | The clients of this code have been updated to all support AliasArgs. This depends on Clang r187538 and lld r187541. llvm-svn: 187546
* Option parsing: add support for alias arguments.Hans Wennborg2013-07-311-3/+30
| | | | | | | | | | | | | | | | | | This makes option aliases more powerful by enabling them to pass along arguments to the option they're aliasing. For example, if we have a joined option "-foo=", we can now specify a flag option "-bar" to be an alias of that, with the argument "baz". This is especially useful for the cl.exe compatible clang driver, where many options are aliases. For example, this patch enables us to alias "/Ox" to "-O3" (-O is a joined option), and "/WX" to "-Werror" (again, -W is a joined option). Differential Revision: http://llvm-reviews.chandlerc.com/D1245 llvm-svn: 187537
* comment typo.Andrew Trick2013-07-311-1/+1
| | | | llvm-svn: 187531
* Revert "TableGen: Enumerate Schedule Model too."Tom Stellard2013-07-311-7/+0
| | | | | | This reverts commit 2ca1e4a39c7e0d7a00e66ff5437c6d7ace2404a0. llvm-svn: 187525
* TableGen: Enumerate Schedule Model too.Vincent Lejeune2013-07-311-0/+7
| | | | llvm-svn: 187511
* Fix register pressure tables on ARM.Andrew Trick2013-07-311-3/+31
| | | | | | The heuristic that merges register pressure sets was bogus for ARM's S/D regs. llvm-svn: 187479
* Add tracing to the tblgen register pressure table generator.Andrew Trick2013-07-311-7/+63
| | | | llvm-svn: 187478
* Remove use of sprintf added to X86 disassembler tablegen code. Send message ↵Craig Topper2013-07-281-4/+2
| | | | | | with instruction name to errs() instead and use a generic message for the llvm_unreachable. Consistent with other places in this file. llvm-svn: 187333
OpenPOWER on IntegriCloud