Skip to content
Commit 050e0cbc authored by Tobias Grosser's avatar Tobias Grosser
Browse files

ScopDetection: Correctly count the loops in a region

There is no reason the loops in a region need to touch either entry or exit
block. Hence, we need to look through all loops that may touch the region as
well as their children to understand if our region has at least two loops.

llvm-svn: 246433
parent 59ac3393
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment