Assert that all trace candidate blocks have been visited by the PO.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Mon, 30 Jul 2012 21:10:27 +0000 (21:10 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Mon, 30 Jul 2012 21:10:27 +0000 (21:10 +0000)
commit8e54ab5c7618bf3813c337ad181a741f30eb36cc
tree436f98e0dfee977f8ba8405d48f694fe53ea3a57
parentef6c76c984f821ea866902a7f9e695b16e971468
Assert that all trace candidate blocks have been visited by the PO.

When computing a trace, all the candidates for pred/succ must have been
visited. Filter out back-edges first, though. The PO traversal ignores
them.

Thanks to Andy for spotting this in review.

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