aboutsummaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* FIx this test, thanks to llvm.expReid Spencer2007-04-141-10/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35992 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a script to run a command but ignore its return code. This scriptReid Spencer2007-04-141-0/+10
| | | | | | | | | | always returns 0. This is useful with the llvm.exp based dejagnu testing when a test wants to check the error output of tool invocation that returns non-zero. Since every command is checked with llvm.exp, there needs to be a way to prevent that checking and this script is it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35991 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix PR1325: Case range optimization was performed in the case itAnton Korobeynikov2007-04-141-0/+160
| | | | | | | shouldn't. Also fix some "latent" bug on 64-bit platforms git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35990 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a missing -f that the new llvm.exp found.Reid Spencer2007-04-141-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35988 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a missing -f caught by the new llvm.exp script.Reid Spencer2007-04-141-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35987 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial version of a re-write of llvm-runtest that doesn't write theReid Spencer2007-04-141-0/+159
| | | | | | | | tests to a script file but executes each line individually and catches errors on each line too. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35986 91177308-0d34-0410-b5e6-96231b3b80d8
* new testcaseChris Lattner2007-04-141-0/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35983 91177308-0d34-0410-b5e6-96231b3b80d8
* testcase for PR1201Chris Lattner2007-04-141-0/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35980 91177308-0d34-0410-b5e6-96231b3b80d8
* tests for struct/union as input operands to asm.Dale Johannesen2007-04-132-0/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35976 91177308-0d34-0410-b5e6-96231b3b80d8
* Add the SCCP regression tests for APInt expressions. These test casesReid Spencer2007-04-1315-0/+360
| | | | | | | | | | turned up some regressions that have since been fixed. We don't want to loose the regression tests. Test cases by Guoling Han. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35974 91177308-0d34-0410-b5e6-96231b3b80d8
* xfail this for nowChris Lattner2007-04-131-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35973 91177308-0d34-0410-b5e6-96231b3b80d8
* new lsr testcaseChris Lattner2007-04-131-0/+60
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35971 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcaseChris Lattner2007-04-131-0/+17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35969 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix PR1323 : we haven't updated phi nodes in good manner :)Anton Korobeynikov2007-04-131-0/+27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35963 91177308-0d34-0410-b5e6-96231b3b80d8
* testcases for function linkageDale Johannesen2007-04-124-1/+111
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35955 91177308-0d34-0410-b5e6-96231b3b80d8
* vector compares aren't allowed. It doesn't make sense to have an xfailedChris Lattner2007-04-121-57/+0
| | | | | | | test to remind us of this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35949 91177308-0d34-0410-b5e6-96231b3b80d8
* make this really work on linux :)Chris Lattner2007-04-121-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35948 91177308-0d34-0410-b5e6-96231b3b80d8
* make this happier on linux hostsChris Lattner2007-04-121-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35947 91177308-0d34-0410-b5e6-96231b3b80d8
* new testcaseChris Lattner2007-04-121-0/+21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35942 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the shlibext and llvmlibsdir variables accessible.Reid Spencer2007-04-122-1/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35939 91177308-0d34-0410-b5e6-96231b3b80d8
* The hello pass actually requires a function to chew on!Reid Spencer2007-04-121-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35937 91177308-0d34-0410-b5e6-96231b3b80d8
* New test case for PR 1321.Devang Patel2007-04-121-0/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35934 91177308-0d34-0410-b5e6-96231b3b80d8
* new testcase.Chris Lattner2007-04-112-1/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35931 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a guard that is supposed to guard against mistakes like this patch fixes!Reid Spencer2007-04-111-1/+1
| | | | | | | We *really* need to be running these with tcl's "exec" to catch the errors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35928 91177308-0d34-0410-b5e6-96231b3b80d8
* new testcaseChris Lattner2007-04-111-0/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35927 91177308-0d34-0410-b5e6-96231b3b80d8
* The "Hello" message is written on stderr so make sure it is duplicated toReid Spencer2007-04-111-1/+1
| | | | | | | stdout so the grep can match it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35925 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a test case for PR1318.Reid Spencer2007-04-111-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35923 91177308-0d34-0410-b5e6-96231b3b80d8
* Use the new %link variable to make this test portable.Reid Spencer2007-04-111-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35921 91177308-0d34-0410-b5e6-96231b3b80d8
* Make new variables available: compile_c, compile_cxx, link to handle testsReid Spencer2007-04-112-21/+21
| | | | | | | | | that want to use LLVM's notion of compiling and linking programs. This includes all the -I -L and optimization switches that LLVM would using to compile or link any of this files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35920 91177308-0d34-0410-b5e6-96231b3b80d8
* The "implementation" keyword is no more!Reid Spencer2007-04-111-2/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35919 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the llvm-runtest function much more amenable by eliminating all theReid Spencer2007-04-1170-73/+78
| | | | | | | | | global variables that needed to be passed in. This makes it possible to add new global variables with only a couple changes (Makefile and llvm-dg.exp) instead of touching every single dg.exp file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35918 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a test case for testing basic IR features via llvm2cpp. This helps findReid Spencer2007-04-111-0/+795
| | | | | | | | bit rot in llvm2cpp and also tests the LLVM C++ IR in ways that llvm-as doesn't. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35917 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure upgrade doesn't fail on this.Reid Spencer2007-04-111-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35916 91177308-0d34-0410-b5e6-96231b3b80d8
* Update the way llvm2cpp tests are done:Reid Spencer2007-04-111-7/+39
| | | | | | | | | | | | | 1. Make sure bytecode/assembly inputs are always redirected stdin so that the module name is <stdin>. This helps not get false negatives when the diff is done. 2. Scan the test file to determine if llvm-upgrade needs to be run. 3. Avoid running testings that are XFAIL'd because they'll cause a failure when run for llvm2cpp. 4. Get some better error message output. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35914 91177308-0d34-0410-b5e6-96231b3b80d8
* Upgrade this file completely instead of downgrading it. Make sure thatReid Spencer2007-04-111-31/+30
| | | | | | | false positives aren't made. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35913 91177308-0d34-0410-b5e6-96231b3b80d8
* this got betterChris Lattner2007-04-112-3/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35908 91177308-0d34-0410-b5e6-96231b3b80d8
* adjust testChris Lattner2007-04-111-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35907 91177308-0d34-0410-b5e6-96231b3b80d8
* change test name.Chris Lattner2007-04-111-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35904 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure this test uses llvm-upgrade.Reid Spencer2007-04-111-1/+2
| | | | | | | Don't allow false positives. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35900 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix to not give false positives.Reid Spencer2007-04-111-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35895 91177308-0d34-0410-b5e6-96231b3b80d8
* sext of compares.Chris Lattner2007-04-111-0/+14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35892 91177308-0d34-0410-b5e6-96231b3b80d8
* new testcaseChris Lattner2007-04-111-0/+17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35889 91177308-0d34-0410-b5e6-96231b3b80d8
* new testcaseChris Lattner2007-04-111-0/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35882 91177308-0d34-0410-b5e6-96231b3b80d8
* new testcases for integer abs functionChris Lattner2007-04-113-0/+50
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35880 91177308-0d34-0410-b5e6-96231b3b80d8
* New test case.Devang Patel2007-04-101-0/+41
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35868 91177308-0d34-0410-b5e6-96231b3b80d8
* Add test case for PR 1154.Devang Patel2007-04-101-0/+125
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35865 91177308-0d34-0410-b5e6-96231b3b80d8
* new testcaseChris Lattner2007-04-091-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35851 91177308-0d34-0410-b5e6-96231b3b80d8
* Add check for opt crash.Devang Patel2007-04-091-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35849 91177308-0d34-0410-b5e6-96231b3b80d8
* Add Loop Rotate test cases.Devang Patel2007-04-097-0/+256
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35838 91177308-0d34-0410-b5e6-96231b3b80d8
* Next stage into switch lowering refactoringAnton Korobeynikov2007-04-092-18/+40
| | | | | | | | | | | 1. Fix some bugs in the jump table lowering threshold 2. Implement much better metric for optimal pivot selection 3. Tune thresholds for different lowering methods 4. Implement shift-and trick for lowering small (<machine word length) cases with few destinations. Good testcase will follow. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35816 91177308-0d34-0410-b5e6-96231b3b80d8