summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/fuzzer/FuzzerIOPosix.cpp
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2017-08-27 21:39:25 +0000
committerTobias Grosser <tobias@grosser.es>2017-08-27 21:39:25 +0000
commit93ab558d2e489ecca696f79f72ce54b4805de0da (patch)
treef85304325064d8f8e4c4e47c86345615d280c939 /compiler-rt/lib/fuzzer/FuzzerIOPosix.cpp
parentf11daad18d4e9292a1eff17ca61bbdb9ad1b9a39 (diff)
downloadbcm5719-llvm-93ab558d2e489ecca696f79f72ce54b4805de0da.tar.gz
bcm5719-llvm-93ab558d2e489ecca696f79f72ce54b4805de0da.zip
[Detect] Consider nested loop profitable if entry block is not in loop
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
Diffstat (limited to 'compiler-rt/lib/fuzzer/FuzzerIOPosix.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud