summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ProfileData/CoverageMappingWriter.cpp
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2015-10-25 22:55:59 +0000
committerTobias Grosser <tobias@grosser.es>2015-10-25 22:55:59 +0000
commit28e3e89764c2d6194feb3afba756f33a596cfc07 (patch)
tree7f5e3c62794668754728c948c21a0ebd4242256e /llvm/lib/ProfileData/CoverageMappingWriter.cpp
parent8ceb323bb4ed3f454d8cca7c2fcf9975986477f4 (diff)
downloadbcm5719-llvm-28e3e89764c2d6194feb3afba756f33a596cfc07.tar.gz
bcm5719-llvm-28e3e89764c2d6194feb3afba756f33a596cfc07.zip
RegionInfo: Correctly expand regions
Instead of playing around with dominance to verify if the possible expansion of a scop region is indeed a single entry single exit region, we now distinguish two cases. In case we only append a basic block, all edges entering this basic block need to have come from within the region that is expanded. In case we join two regions, the source basic blocks of the edges that end at the entry node of the region that is appended most be part of either the original region or the region that is appended. This change will be tested through Polly. This fixes llvm.org/PR25242 llvm-svn: 251267
Diffstat (limited to 'llvm/lib/ProfileData/CoverageMappingWriter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud