Revert "[IfConversion] Keep the CFG updated incrementally in IfConvertTriangle"
authorTobias Grosser <tobias@grosser.es>
Mon, 29 May 2017 06:12:18 +0000 (06:12 +0000)
committerTobias Grosser <tobias@grosser.es>
Mon, 29 May 2017 06:12:18 +0000 (06:12 +0000)
commit8cf785f6b19cf7a3dac9cda4fd386a876c0f108d
tree098765bbd11574ff5a8fc2313a5059e076e14983
parent6aa9e9b41a578cc086684d76e70660dfb162d421
Revert "[IfConversion] Keep the CFG updated incrementally in IfConvertTriangle"

The reverted change introdued assertions ala:

"MachineBasicBlock::succ_iterator
llvm::MachineBasicBlock::removeSuccessor(succ_iterator, bool): Assertion
`I != Successors.end() && "Not a current successor!"'

Mikael, the original committer, wrote me that he is working on a fix, but that
it likely will take some time to get this resolved. As this bug is one of the
last two issues that keep the AOSP buildbot from turning green, I revert the
original commit r302876.

I am looking forward to see this recommitted after the assertion has been
resolved.

llvm-svn: 304128
llvm/lib/CodeGen/IfConversion.cpp
llvm/test/CodeGen/MIR/ARM/PR32721_ifcvt_triangle_unanalyzable.mir [deleted file]