Allow traces to enter nested loops.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Mon, 30 Jul 2012 23:15:10 +0000 (23:15 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Mon, 30 Jul 2012 23:15:10 +0000 (23:15 +0000)
commit1c899cf47c13a107cf0f85ae69fcd36c92b37f14
tree644ba653276a680ccb4093c0913da746da9d1e1c
parent9714644a38213d059f3ddced08cfc119ca8a0ab7
Allow traces to enter nested loops.

This lets traces include the final iteration of a nested loop above the
center block, and the first iteration of a nested loop below the center
block.

We still don't allow traces to contain backedges, and traces are
truncated where they would leave a loop, as seen from the center block.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161003 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineTraceMetrics.cpp