aboutsummaryrefslogtreecommitdiffstats
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
...
* lit: Support '>>' redirections when executing scripts internally.Daniel Dunbar2009-10-241-0/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85014 91177308-0d34-0410-b5e6-96231b3b80d8
* Auto-upgrade free instructions to calls to the builtin free function.Victor Hernandez2009-10-241-1/+1
| | | | | | | | | Update all analysis passes and transforms to treat free calls just like FreeInst. Remove RaiseAllocations and all its tests since FreeInst no longer needs to be raised. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84987 91177308-0d34-0410-b5e6-96231b3b80d8
* Trying again to tweak the top-level Makefile to facilitate an Apple-style build.Stuart Hastings2009-10-222-1/+5
| | | | | | | Now with Clang-compatibility. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84872 91177308-0d34-0410-b5e6-96231b3b80d8
* Make 'unset_option' work on list options.Mikhail Glushenkov2009-10-221-6/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84827 91177308-0d34-0410-b5e6-96231b3b80d8
* Set comment string, patch by Johnny Chen!Chris Lattner2009-10-211-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84743 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement any_[not_]empty and list versions of switch_on and [not_]empty.Mikhail Glushenkov2009-10-211-60/+146
| | | | | | Useful for OptionPreprocessor. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84728 91177308-0d34-0410-b5e6-96231b3b80d8
* NNT: Implement "config mode", use -config path/to/llvm-configDaniel Dunbar2009-10-201-51/+102
| | | | | | | | | - This runs the nightly test and does all the submission logic, but using the LLVM build specified by the llvm-config. - Useful for, among other things, testing NNT itself. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84620 91177308-0d34-0410-b5e6-96231b3b80d8
* NNT: Remove unused BUILDTYPE argument.Daniel Dunbar2009-10-201-7/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84619 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert "Tweak top-level Makefile to facilitate Apple-style build.", this isDaniel Dunbar2009-10-202-5/+1
| | | | | | breaking Clang's Apple-style build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84592 91177308-0d34-0410-b5e6-96231b3b80d8
* NNT: Remove duplicate verbose print.Daniel Dunbar2009-10-201-4/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84591 91177308-0d34-0410-b5e6-96231b3b80d8
* More refactoring...Mikhail Glushenkov2009-10-191-46/+55
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84537 91177308-0d34-0410-b5e6-96231b3b80d8
* Tweak top-level Makefile to facilitate Apple-style build.Stuart Hastings2009-10-192-1/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84507 91177308-0d34-0410-b5e6-96231b3b80d8
* NNT: Add -parallel-test option, which runs llvm-test withDaniel Dunbar2009-10-191-0/+2
| | | | | | ENABLE_PARALLEL_REPORT. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84497 91177308-0d34-0410-b5e6-96231b3b80d8
* NNT: Don't hard code -l3.0 argument to make, this is very server dependent. ↵Daniel Dunbar2009-10-191-20/+26
| | | | | | | | Users who care can use -compileflags for this. Also, fix make clean call and a few other tweaks. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84496 91177308-0d34-0410-b5e6-96231b3b80d8
* NNT: Fix refactoro, I dropped the list of all (llvm-test) tests. I'm sure it ↵Daniel Dunbar2009-10-191-6/+7
| | | | | | was named dejagnu_test_list for a good reason. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84495 91177308-0d34-0410-b5e6-96231b3b80d8
* NNT: Lift conditional logic out of test steps.Daniel Dunbar2009-10-191-117/+114
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84494 91177308-0d34-0410-b5e6-96231b3b80d8
* NNT: Now that build & test steps are factored out, coalesce all the logic ↵Daniel Dunbar2009-10-191-62/+39
| | | | | | together. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84493 91177308-0d34-0410-b5e6-96231b3b80d8
* NNT: Sink code for running nightly test into subroutine.Daniel Dunbar2009-10-191-37/+44
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84492 91177308-0d34-0410-b5e6-96231b3b80d8
* NNT: Tweaks and simplifications.Daniel Dunbar2009-10-191-137/+62
| | | | | | | | | - Split out configure log. - Kill off GetRegexNum. - Fix GetRegex to not return previous match on failure. - Remove dead code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84491 91177308-0d34-0410-b5e6-96231b3b80d8
* NNT: Move build code into subroutine.Daniel Dunbar2009-10-191-39/+43
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84490 91177308-0d34-0410-b5e6-96231b3b80d8
* NNT: Move source checkout code into subroutine.Daniel Dunbar2009-10-191-49/+31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84489 91177308-0d34-0410-b5e6-96231b3b80d8
* NNT: Remove .{o,a} size info, this is better tracked elsewhere.Daniel Dunbar2009-10-191-27/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84488 91177308-0d34-0410-b5e6-96231b3b80d8
* NNT: Remove code to track build warnings, the buildbots cover this.Daniel Dunbar2009-10-191-58/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84487 91177308-0d34-0410-b5e6-96231b3b80d8
* NNT: Remove hard coded BuildDir and WebDir, users should have to specify these.Daniel Dunbar2009-10-191-11/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84481 91177308-0d34-0410-b5e6-96231b3b80d8
* NNT: Remove "CVS Stats", this isn't particularly useful and can be better ↵Daniel Dunbar2009-10-191-105/+8
| | | | | | done by the server or user. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84480 91177308-0d34-0410-b5e6-96231b3b80d8
* NNT: Remove now-unused -cvstag argument and CVSROOT code.Daniel Dunbar2009-10-191-19/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84479 91177308-0d34-0410-b5e6-96231b3b80d8
* NNT: Remove -usecvs option, this is very old.Daniel Dunbar2009-10-191-95/+32
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84478 91177308-0d34-0410-b5e6-96231b3b80d8
* NNT: Remove -debug argument, it is unused.Daniel Dunbar2009-10-191-2/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84477 91177308-0d34-0410-b5e6-96231b3b80d8
* Regroup NewNightlyTest.pl optionsDaniel Dunbar2009-10-191-45/+64
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84476 91177308-0d34-0410-b5e6-96231b3b80d8
* lit: When running Tcl scripts via shell, try harder to find 'bash', but fallDaniel Dunbar2009-10-192-2/+26
| | | | | | back to running them internally if that fails. PR5240. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84462 91177308-0d34-0410-b5e6-96231b3b80d8
* Refactoring, no functionality change.Mikhail Glushenkov2009-10-181-69/+158
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84450 91177308-0d34-0410-b5e6-96231b3b80d8
* Support GoogleTest's "typed tests"Jeffrey Yasskin2009-10-181-0/+4
| | | | | | | | | | | (http://code.google.com/p/googletest/wiki/GoogleTestAdvancedGuide#Typed_Tests) in lit.py. These tests have names like "ValueMapTest/0.Iteration", which broke when lit.py os.path.join()ed them onto the path and then assumed it could os.path.split() them back off. This patch shifts path components from the testPath to the testName until the testPath exists. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84387 91177308-0d34-0410-b5e6-96231b3b80d8
* Move UnescapeString to a static function for its sole client; its ↵Daniel Dunbar2009-10-171-0/+23
| | | | | | inefficient and broken. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84358 91177308-0d34-0410-b5e6-96231b3b80d8
* Use raw_ostream::write_escaped instead of EscapeString.Daniel Dunbar2009-10-172-12/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84356 91177308-0d34-0410-b5e6-96231b3b80d8
* First draft of the OptionPreprocessor.Mikhail Glushenkov2009-10-171-32/+191
| | | | | | More to follow... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84352 91177308-0d34-0410-b5e6-96231b3b80d8
* This variable is never used.Mikhail Glushenkov2009-10-171-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84351 91177308-0d34-0410-b5e6-96231b3b80d8
* Disallow multiple instances of PluginPriority.Mikhail Glushenkov2009-10-171-4/+10
| | | | | | | Several instances of PluginPriority in a single file most probably signifies a programming error. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84350 91177308-0d34-0410-b5e6-96231b3b80d8
* Report errors correctly for unselected target intrinsics.Jakob Stoklund Olesen2009-10-152-2/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84193 91177308-0d34-0410-b5e6-96231b3b80d8
* Haiku porting patches, Credit to Paul Davey.Edward O'Callaghan2009-10-121-1/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83823 91177308-0d34-0410-b5e6-96231b3b80d8
* Omit the 'out_file_index != -1' check when possible.Mikhail Glushenkov2009-10-091-6/+54
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83619 91177308-0d34-0410-b5e6-96231b3b80d8
* Input files should go before all other options.Mikhail Glushenkov2009-10-081-14/+24
| | | | | | Important, for example, when calling 'gcc a.o b.o c.o -lD -lE -lF'. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83524 91177308-0d34-0410-b5e6-96231b3b80d8
* Add instruction flags: hasExtraSrcRegAllocReq and hasExtraDefRegAllocReq. WhenEvan Cheng2009-10-013-0/+6
| | | | | | | | | | | set, these flags indicate the instructions source / def operands have special register allocation requirement that are not captured in their register classes. Post-allocation passes (e.g. post-alloc scheduler) should not change their allocations. e.g. ARM::LDRD require the two definitions to be allocated even / odd register pair. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83196 91177308-0d34-0410-b5e6-96231b3b80d8
* B&I's buildit forces a PATH that omits /Developer. Temporarily addStuart Hastings2009-09-281-1/+3
| | | | | | | /Developer/usr/bin to the PATH when looking for llvm-gcc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83028 91177308-0d34-0410-b5e6-96231b3b80d8
* For B&I-style builds, tweak build_llvm script to prefer LLVM-G++ ifStuart Hastings2009-09-281-4/+10
| | | | | | | available. Override by setting CC and CXX in the environment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83024 91177308-0d34-0410-b5e6-96231b3b80d8
* Introduce the TargetInstrInfo::KILL machine instruction and get rid of theJakob Stoklund Olesen2009-09-284-9/+11
| | | | | | | | | | unused DECLARE instruction. KILL is not yet used anywhere, it will replace TargetInstrInfo::IMPLICIT_DEF in the places where IMPLICIT_DEF is just used to alter liveness of physical registers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83006 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't traverse into .svn directories.Daniel Dunbar2009-09-281-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82978 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a way to query the number of input files.Mikhail Glushenkov2009-09-281-5/+21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82957 91177308-0d34-0410-b5e6-96231b3b80d8
* A bit prettier formatting.Mikhail Glushenkov2009-09-281-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82955 91177308-0d34-0410-b5e6-96231b3b80d8
* implement and document support for filecheck variables. ThisChris Lattner2009-09-271-43/+172
| | | | | | | | | | | allows matching and remembering a string and then matching and verifying that the string occurs later in the file. Change X86/xor.ll to use this in some cases where the test was checking for an arbitrary register allocation decision. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82891 91177308-0d34-0410-b5e6-96231b3b80d8
* remove support for "NoSub" from regex. It seems like a minor optimizationChris Lattner2009-09-261-1/+1
| | | | | | | and makes the API more annoying. Add a Regex::getNumMatches() method. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82877 91177308-0d34-0410-b5e6-96231b3b80d8