summaryrefslogtreecommitdiffstats
path: root/polly/test/IndependentBlocks
Commit message (Collapse)AuthorAgeFilesLines
* Remove independent blocks passJohannes Doerfert2015-10-186-430/+0
| | | | | | | | | | | Polly can now be used as a analysis only tool as long as the code generation is disabled. However, we do not have an alternative to the independent blocks pass in place yet, though in the relevant cases this does not seem to impact the performance much. Nevertheless, a virtual alternative that allows the same transformations without changing the input region will follow shortly. llvm-svn: 250652
* tests: Drop -polly-detect-unprofitable and -polly-no-early-exitTobias Grosser2015-10-066-7/+7
| | | | | | | | These flags are now always passed to all tests and need to be disabled if not needed. Disabling these flags, rather than passing them to almost all tests, significantly simplfies our RUN: lines. llvm-svn: 249422
* Clean-up unit testsMichael Kruse2015-09-103-5/+0
| | | | | | Remove redundant flags and duplicate invocations of the same test. llvm-svn: 247285
* Remove code for scalar and PHI to array translationTobias Grosser2015-06-265-85/+14
| | | | | | | | | | | | | | | | This removes old code that has been disabled since several weeks and was hidden behind the flags -disable-polly-intra-scop-scalar-to-array=false and -polly-model-phi-nodes=false. Earlier, Polly used to translate scalars and PHI nodes to single element arrays, as this avoided the need for their special handling in Polly. With Johannes' patches adding native support for such scalar references to Polly, this code is not needed any more. After this commit both -polly-prepare and -polly-independent are now mostly no-ops. Only a couple of simple transformations still remain, but they are scheduled for removal too. Thanks again to Johannes Doerfert for his nice work in making all this code obsolete. llvm-svn: 240766
* Make use of scalar/phi code generation explicit in the testsTobias Grosser2015-05-234-21/+26
| | | | | | | | | | This ensures we pass all tests independently of how we set the options -disable-polly-intra-scop-scalar-to-array and -polly-model-phi-nodes. (At least if we enable both or disable both. Enabling them individually makes little sense, as they will hopefully disappear soon anyhow). llvm-svn: 238087
* Remove target triples from test casesTobias Grosser2015-04-216-6/+0
| | | | | | | | I just learned that target triples prevent test cases to be run on other architectures. Polly test cases are until now sufficiently target independent to not require any target triples. Hence, we drop them. llvm-svn: 235384
* Update Polly tests to handle explicitly typed load changes in LLVM.David Blaikie2015-02-275-18/+18
| | | | llvm-svn: 230796
* Update Polly tests to handle explicitly typed gep changes in LLVMDavid Blaikie2015-02-274-13/+13
| | | | llvm-svn: 230784
* ScopDetection: Only detect scops that have at least one read and one writeTobias Grosser2015-02-196-19/+19
| | | | | | | | | | Scops that only read seem generally uninteresting and scops that only write are most likely initializations where there is also little to optimize. To not waste compile time we bail early. Differential Revision: http://reviews.llvm.org/D7735 llvm-svn: 229820
* Remove -polly-codegen-scev option and related codeTobias Grosser2014-11-306-10/+10
| | | | | | | | SCEV based code generation has been the default for two weeks after having been tested for a long time. We now drop the support the non-scev-based code generation. llvm-svn: 222978
* IndependentBlocks: Do not assert for PHI nodes outside of scopsTobias Grosser2014-01-291-0/+36
| | | | | | | | There does not seem to be a reason that we can not support PHI nodes outside of the scop that reference values within the SCoP. Or at least, the attached test case seems to do the right thing. We remove the assert for now. llvm-svn: 200427
* IndependentBlock: Add option to disable scalar to array rewriting.Hongbin Zheng2013-07-164-0/+58
| | | | llvm-svn: 186418
* ScopDetect: check region entering edges are valid.Sebastian Pop2013-06-111-39/+0
| | | | | | | | | | | | | | | | When a region header is part of a loop, then all entering edges of this region should not come from the loop but outside the region. Otherwise, the loop may be only partially part of the region, which would cause troubles in handling induction variables. Currently, we can only model induction variables that are either fully part of the scop (loop induction variable) or induction variables that are scop- invariant (parameter). A loop that is only partially part of the scop causes troubles, as there is no good way to handle the induction variable in the independent blocks pass. Contributed-by: Star Tan <tanmx_star@yeah.net> llvm-svn: 183800
* Test that independent block pass does not transform induction variablesTobias Grosser2013-05-311-0/+39
| | | | | | | | | | | The original test case showed a problem with the independet blocks pass and we decided to XFAIL it for now. Unfortunately the failure is not detected if we build without asserts and the verification of the independent block pass is not run. This change tests now for the actual reason of the failure and should trigger even in a non asserts build. We did not yet solve the underlying bug, but this should at least make the test suite behavior consistent. llvm-svn: 183025
* independent blocks: when moving Values, invalidate SCEV cached infoSebastian Pop2013-05-201-0/+22
| | | | llvm-svn: 182310
* Remove dependence on canonical induction variableTobias Grosser2013-03-204-0/+5
| | | | | | | | When using the scev based code generation, we now do not rely on the presence of a canonical induction variable any more. This commit prepares the path to (conditionally) disable the induction variable canonicalization pass. llvm-svn: 177548
* IndependentBlocks: Add a couple of test cases.Tobias Grosser2013-03-193-0/+160
| | | | llvm-svn: 177438
* Tests: Pipe test files into 'opt'Tobias Grosser2012-11-041-1/+1
| | | | | | | Use 'opt < %s' instead of just 'opt %s' to ensure that no temporary files are created. llvm-svn: 167372
* Tests: remove ModuleID linesTobias Grosser2012-11-021-1/+0
| | | | llvm-svn: 167284
* Add some tests for the independent blocks pass.Tobias Grosser2012-06-111-0/+227
llvm-svn: 158306
OpenPOWER on IntegriCloud