OSDN Git Service

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)
commitfb50bac10d0c461099185a72739d17bb28ef8a6c
tree1e6556347dc778de356b4c2f608f39c7b052723e
parentc91ffc6f563d10df6565915e323944ddd52b6447
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304128 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/IfConversion.cpp
test/CodeGen/MIR/ARM/PR32721_ifcvt_triangle_unanalyzable.mir [deleted file]