aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/SimplifyCFG
Commit message (Collapse)AuthorAgeFilesLines
* Added the ability to xfail based on llvmgcc versionTanya Lattner2006-04-121-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27635 91177308-0d34-0410-b5e6-96231b3b80d8
* Tired of wading through cvs's list ? files that are generated when buildingReid Spencer2006-03-231-0/+3
| | | | | | | | | with srcdir = objdir to see what's okay and what's cruft. So, in goes a bunch of .cvsignore files to shut cvs up about known output from running "make check". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27009 91177308-0d34-0410-b5e6-96231b3b80d8
* new testcase that crashes simplifycfgChris Lattner2006-02-181-0/+35
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26274 91177308-0d34-0410-b5e6-96231b3b80d8
* expand testcase, which has been in my tree for a while nowChris Lattner2005-12-031-1/+29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24582 91177308-0d34-0410-b5e6-96231b3b80d8
* new testcase, miscompiled by simplifycfg. This has been distilled from ↵Chris Lattner2005-12-031-0/+138
| | | | | | Ptrdist/bc git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24580 91177308-0d34-0410-b5e6-96231b3b80d8
* new testcase for PR635Chris Lattner2005-10-031-0/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23615 91177308-0d34-0410-b5e6-96231b3b80d8
* new testcaseChris Lattner2005-09-231-0/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23409 91177308-0d34-0410-b5e6-96231b3b80d8
* make this test harder: add a case where instructions are in the bb to beChris Lattner2005-09-201-0/+19
| | | | | | | threaded over git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23396 91177308-0d34-0410-b5e6-96231b3b80d8
* new testcaseChris Lattner2005-09-201-1/+19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23394 91177308-0d34-0410-b5e6-96231b3b80d8
* new testcase.Chris Lattner2005-09-191-0/+26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23390 91177308-0d34-0410-b5e6-96231b3b80d8
* Testcase that used to crash simplifycfgChris Lattner2005-08-031-0/+94
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22622 91177308-0d34-0410-b5e6-96231b3b80d8
* un-xfail thisChris Lattner2005-08-031-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22614 91177308-0d34-0410-b5e6-96231b3b80d8
* This fails for nowChris Lattner2005-08-031-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22608 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcase that caused simplifycfg to crashChris Lattner2005-08-021-0/+96
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22583 91177308-0d34-0410-b5e6-96231b3b80d8
* new testcase for PR584Chris Lattner2005-06-171-0/+125
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22231 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcase that crashes simplifycfg, identified accidentally by JohnMCChris Lattner2005-05-201-0/+153
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22157 91177308-0d34-0410-b5e6-96231b3b80d8
* testcase I've had in my treeChris Lattner2005-05-091-0/+17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21832 91177308-0d34-0410-b5e6-96231b3b80d8
* new testcase for a simple optimization that simplifycfg is about to do.Chris Lattner2005-02-241-0/+78
| | | | | | | All CFG edges to DEAD should be eliminated. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20299 91177308-0d34-0410-b5e6-96231b3b80d8
* add another testcase to make sure it gets turned into a switch (answer: yes ↵Chris Lattner2005-02-241-0/+15
| | | | | | it does) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20291 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new test to make sure simplifycfg doesn't leave around triviallyChris Lattner2005-01-011-0/+26
| | | | | | | dead instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19211 91177308-0d34-0410-b5e6-96231b3b80d8
* Check in the right testChris Lattner2004-12-101-4/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18767 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcase for a bug exposed by the ipsccp pass, causing dparser to failChris Lattner2004-12-101-0/+62
| | | | | | | last night. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18765 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcase for simplifycfgChris Lattner2004-11-301-0/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18367 91177308-0d34-0410-b5e6-96231b3b80d8
* Adding srcdir argTanya Lattner2004-11-191-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18020 91177308-0d34-0410-b5e6-96231b3b80d8
* Adding subdirectory dg.exp files in order to be able to use dejagnu to only ↵Tanya Lattner2004-11-131-0/+3
| | | | | | run specific tests (located in some subdirectory of Regression) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17712 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcaseChris Lattner2004-10-181-0/+29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17115 91177308-0d34-0410-b5e6-96231b3b80d8
* When converting phi nodes into select instructions, we shouldn't promote PHIChris Lattner2004-10-141-0/+29
| | | | | | | | | nodes unless we KNOW that we are able to promote all of them. In this case promoting the phi to a select is silly because we will always have to do the call conditionally. As such, select promotion is actually a pessimization. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16972 91177308-0d34-0410-b5e6-96231b3b80d8
* test that unconditional branches to unwinds are always eliminatedChris Lattner2004-07-201-0/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15021 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix testcase. For some reason this was failing only with a release build andChris Lattner2004-07-011-3/+1
| | | | | | | not with a debug build? Rather testrunner only caught it in that case. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14514 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a test that was "broken" by new optimizations. The transformation weChris Lattner2004-05-261-0/+4
| | | | | | | | are doing is certainly correct, its just that we didn't have the capability to do it when the testcase was written (no select instr) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13799 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcase:Chris Lattner2004-05-011-0/+21
| | | | | | | Turn "if (A < B && B < C)" into "if (A < B & B < C)" git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13310 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcase for case that simplifycfg should catchChris Lattner2004-05-011-0/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13305 91177308-0d34-0410-b5e6-96231b3b80d8
* Simplify cfg now eliminates all of the branches in this testcaseChris Lattner2004-04-091-0/+15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12803 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcaseChris Lattner2004-04-021-0/+18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12616 91177308-0d34-0410-b5e6-96231b3b80d8
* Oops, actually USE the previously computed valueChris Lattner2004-03-301-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12547 91177308-0d34-0410-b5e6-96231b3b80d8
* Test general value/value selection which we can do now that we use theChris Lattner2004-03-301-1/+2
| | | | | | | select instruction git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12546 91177308-0d34-0410-b5e6-96231b3b80d8
* Modify test to use the %t substition (temporary name). This is availableJohn Criswell2004-03-171-2/+2
| | | | | | | | | | in the QMTest Testrunner tests. Please note that putting output files in the Output directory no longer works, as QMTest does not build Output directories anymore (nor does the test run in a separate subdirectory, anyway). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12466 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a testcase for switch instruction inductionChris Lattner2004-02-281-0/+36
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11965 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcase. Switch instructions that go to switch instructions should beChris Lattner2004-02-241-0/+46
| | | | | | | merged. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11796 91177308-0d34-0410-b5e6-96231b3b80d8
* The simplifycfg pass should be able to turn stuff like:Chris Lattner2004-02-241-0/+33
| | | | | | | | | | | if (X == 4 || X == 7) and if (X != 4 && X != 7) into switch instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11791 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcase, details in the commentsChris Lattner2004-02-161-0/+32
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11495 91177308-0d34-0410-b5e6-96231b3b80d8
* New feature testcase for simplifycfg.Chris Lattner2004-02-111-0/+35
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11306 91177308-0d34-0410-b5e6-96231b3b80d8
* Renamed `as' => `llvm-as', `dis' => `llvm-dis', `link' => `llvm-link'.Misha Brukman2003-09-1616-16/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8558 91177308-0d34-0410-b5e6-96231b3b80d8
* Removing Makefiles. Regression tests are now run by QMTest.John Criswell2003-09-151-10/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8548 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcaseChris Lattner2003-08-241-0/+19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8125 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a new switch folding testcaseChris Lattner2003-08-231-0/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8092 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcase to ensure that switch folding happens correctlyChris Lattner2003-08-171-0/+49
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7922 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcaseChris Lattner2003-08-171-0/+24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7920 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcaseChris Lattner2003-08-171-0/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7918 91177308-0d34-0410-b5e6-96231b3b80d8
* new testcases that simplifycfg breaksChris Lattner2003-08-052-0/+19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7598 91177308-0d34-0410-b5e6-96231b3b80d8