summaryrefslogtreecommitdiffstats
path: root/polly/test/Isl/CodeGen/OpenMP/invariant_base_pointer_preloaded.ll
Commit message (Collapse)AuthorAgeFilesLines
* [tests] Force invariant load hoisting for test cases that need itTobias Grosser2016-08-151-1/+1
| | | | | | | | This will make it easier to switch the default of Polly's invariant load hoisting strategy and also makes it very clear that these test cases indeed require invariant code hoisting to work. llvm-svn: 278667
* tests: Drop -polly-detect-unprofitable and -polly-no-early-exitTobias Grosser2015-10-061-1/+1
| | | | | | | | 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
* Hand down referenced & globally mapped values to the subfunctionJohannes Doerfert2015-10-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | If a value is globally mapped (IslNodeBuilder::ValueMap) and referenced in the code that will be put into a subfunction, we hand down the new value to the subfunction. This patch also removes code that handed down all invariant loads to the subfunction. Instead, only needed invariant loads are given to the subfunction. There are two possible reasons for an invariant load to be handed down: 1) The invariant load is used in a block that is placed in the subfunction but which is not the parent of the load. In this case, the scalar access that will read the loaded value, will cause its base pointer (the preloaded value) to be handed down to the subfunction. 2) The invariant load is defined and used in a block that is placed in the subfunction. With this patch we will hand down the preloaded value to the subfunction as the invariant load is globally mapped to that value. llvm-svn: 249126
* [FIX] Parallel codegen for invariant loadsJohannes Doerfert2015-10-011-0/+33
Hand down all preloaded values to the parallel subfunction. llvm-svn: 249010
OpenPOWER on IntegriCloud