[llvm-bugs] [Bug 27657] [IfConverter/BranchFolding] An empty, non-reachable MBB is not removed.

via llvm-bugs llvm-bugs at lists.llvm.org
Mon May 9 02:37:20 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=27657

Jonas Paulsson <paulsson at linux.vnet.ibm.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Jonas Paulsson <paulsson at linux.vnet.ibm.com> ---
Tried to fix this, but it turns out that empty blocks with either no
predecessors or successors are the only empty blocks left, which seems to be
difficult / unnecessary to get rid of. For the first block in function,
removing it triggers an assert that a loop header should not be first block in
function. As to empty blocks without successors, I am not sure if there could
still be a jump to such a block but it however seems harmless.

So, I close this bug without any changes, sorry for spamming.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160509/5d46731d/attachment.html>


More information about the llvm-bugs mailing list