summaryrefslogtreecommitdiffstats
path: root/polly/lib/DeadCodeElimination.cpp
diff options
context:
space:
mode:
authorTobias Grosser <grosser@fim.uni-passau.de>2013-04-10 06:55:20 +0000
committerTobias Grosser <grosser@fim.uni-passau.de>2013-04-10 06:55:20 +0000
commit03fc9acbe50b552308488a2af712ab8c4f10d888 (patch)
treeed2b02ab1256bae8535694537fac7233f31110c8 /polly/lib/DeadCodeElimination.cpp
parent141cc3e85fde5e09c79c1687b987eacf47bec8a0 (diff)
downloadbcm5719-llvm-03fc9acbe50b552308488a2af712ab8c4f10d888.tar.gz
bcm5719-llvm-03fc9acbe50b552308488a2af712ab8c4f10d888.zip
Codegen: Replace region exit and entries recursively
During code generation we split the original entry and exit basic blocks of the scop to make room for the newly generated code. To keep the region tree up to date, we need to update the region tree. This patch ensures that not only the region of the scop is updated, but also all child regions that share the same entry or exit block. We have now test case here, as the bug is only exposed by the subsequent commit. The test cases of that commit also cover this bug. Contributed-by: Star Tan <tanmx_star@yeah.net> llvm-svn: 179158
Diffstat (limited to 'polly/lib/DeadCodeElimination.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud