summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Path.cpp
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2017-03-07 15:50:43 +0000
committerTobias Grosser <tobias@grosser.es>2017-03-07 15:50:43 +0000
commit134a57295172387ea7f074d2eef8a9c77f090aef (patch)
tree0aafc2b2ff445d1206cfcba358bf8b49adf2d021 /llvm/lib/Support/Path.cpp
parent87dcd46aa78d3ac9632fa85845caddfee9cfbfed (diff)
downloadbcm5719-llvm-134a57295172387ea7f074d2eef8a9c77f090aef.tar.gz
bcm5719-llvm-134a57295172387ea7f074d2eef8a9c77f090aef.zip
[ScopDetection] Do not detect scops that exit to an unreachable
Scops that exit with an unreachable are today still permitted, but make little sense to optimize. We therefore can already skip them during scop detection. This speeds up scop detection in certain cases and also ensures that bugpoint does not introduce unreachables when reducing test cases. In practice this change should have little impact, as the performance of unreachable code is unlikely to matter. This commit is part of a series that makes Polly more robust in the presence of unreachables. llvm-svn: 297151
Diffstat (limited to 'llvm/lib/Support/Path.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud