Remove an over-eager assert that was firing on one of the ARM regression
authorChandler Carruth <chandlerc@gmail.com>
Mon, 14 Nov 2011 10:55:53 +0000 (10:55 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 14 Nov 2011 10:55:53 +0000 (10:55 +0000)
commitbc83fcd9bd95f8eff83cd5ad77b0aa5312d8a6a5
tree8a1cb350497368ebd1bdbafb2ae117340e906559
parentfa97658b1c71f747cfe0f3e1f1bcbd86d7fa9f75
Remove an over-eager assert that was firing on one of the ARM regression
tests when I forcibly enabled block placement.

It is apparantly possible for an unanalyzable block to fallthrough to
a non-loop block. I don't actually beleive this is correct, I believe
that 'canFallThrough' is returning true needlessly for the code
construct, and I've left a bit of a FIXME on the verification code to
try to track down why this is coming up.

Anyways, removing the assert doesn't degrade the correctness of the algorithm.

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