summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/StructurizeCFG
Commit message (Collapse)AuthorAgeFilesLines
* StructurizeCFG: Fix verification failure with some loops.Matt Arsenault2013-11-221-0/+31
| | | | | | | | | If the beginning of the loop was also the entry block of the function, branches were inserted to the entry block which isn't allowed. If this occurs, create a new dummy function entry block that branches to the start of the loop. llvm-svn: 195493
* StructurizeCFG: Fix inverting a branch on an argumentMatt Arsenault2013-11-221-0/+47
| | | | llvm-svn: 195492
* StructurizeCFG: Add dependency on LowerSwitch passTom Stellard2013-10-021-0/+23
| | | | | | | | Switch instructions were crashing the StructurizeCFG pass, and it's probably easier anyway if we don't need to handle them in this pass. Reviewed-by: Christian König <christian.koenig@amd.com> llvm-svn: 191841
* [tests] Cleanup initialization of test suffixes.Daniel Dunbar2013-08-161-1/+0
| | | | | | | | | | | | | | | | | - 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
* Move StructurizeCFG out of R600 to generic Transforms.Matt Arsenault2013-06-192-0/+51
Register it with PassManager llvm-svn: 184343
OpenPOWER on IntegriCloud