diff options
author | Tobias Grosser <grosser@fim.uni-passau.de> | 2013-04-10 06:55:31 +0000 |
---|---|---|
committer | Tobias Grosser <grosser@fim.uni-passau.de> | 2013-04-10 06:55:31 +0000 |
commit | 0ee50f6ee46902a568eaa3d8baaa2e99f892fb07 (patch) | |
tree | 0e580894ab4eb866cb3b8e36c33d50b681441ebe /polly/lib/DeadCodeElimination.cpp | |
parent | 03fc9acbe50b552308488a2af712ab8c4f10d888 (diff) | |
download | bcm5719-llvm-0ee50f6ee46902a568eaa3d8baaa2e99f892fb07.tar.gz bcm5719-llvm-0ee50f6ee46902a568eaa3d8baaa2e99f892fb07.zip |
Support SCoPs with multiple exit edges
Regions that have multiple exit edges are very common. A simple if condition
yields e.g. such a region:
if
/ \
then else
\ /
after
Region: if -> after
This regions contains the bbs 'if', 'then', 'else', but not 'after'. It has
two exit edges 'then' -> 'after' and 'else' -> 'after'.
Previously we scheduled the RegionSimplify pass to translate such regions into
simple regions. With this patch, we now support them natively.
Contributed-by: Star Tan <tanmx_star@yeah.net>
llvm-svn: 179159
Diffstat (limited to 'polly/lib/DeadCodeElimination.cpp')
0 files changed, 0 insertions, 0 deletions