summaryrefslogtreecommitdiffstats
path: root/polly/test/ScopDetect/profitability-two-nested-loops.ll
Commit message (Collapse)AuthorAgeFilesLines
* [Detect] Consider nested loop profitable if entry block is not in loopTobias Grosser2017-08-271-0/+94
In cases where the entry block of a scop was not contained in a loop that was part of the scop region and at the same time there was a loop surrounding the scop, we missed to count the loops in the scop and consequently did not consider the scop profitable. We correct this by only moving to the loop parent, in case the current loop is loop contained in the scop. This increases the number of loops in COSMO which we assume to be profitable from 3974 to 4981. llvm-svn: 311863
OpenPOWER on IntegriCloud