Skip to content
Commit 03fc9acb authored by Tobias Grosser's avatar Tobias Grosser
Browse files

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: default avatarStar Tan <tanmx_star@yeah.net>
llvm-svn: 179158
parent 141cc3e8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment