Relax an invariant that block placement was trying to assert a bit
authorChandler Carruth <chandlerc@gmail.com>
Wed, 23 Nov 2011 10:35:36 +0000 (10:35 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 23 Nov 2011 10:35:36 +0000 (10:35 +0000)
commit598894ff2547aaa0a32ded145063f3bfe042f620
tree540dd1661cb5e91748ee4197d3a1d35d14bbcd8e
parent52a35a89e6c07d010d7abdba9646a56536331c36
Relax an invariant that block placement was trying to assert a bit
further. This invariant just wasn't going to work in the face of
unanalyzable branches; we need to be resillient to the phenomenon of
chains poking into a loop and poking out of a loop. In fact, we already
were, we just needed to not assert on it.

This was found during a bootstrap with block placement turned on.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145100 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/MachineBlockPlacement.cpp
test/CodeGen/X86/block-placement.ll