This patch improves error detection in deleteEdge. It asserts that the edge doesn't exist in the CFG and that DomTree knew about this edge before.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Can you maybe document that splitEdge is supposed to only be called on nodes that are part of the dominator tree.
Also, what about blocks that are unreachable form the entry and not part of the dominator tree?
Comment Actions
@grosser: (I think that you meant to send that in the other review)
Updates to unreachable regions (IE nodes not in the DT) are essentially NOPs, so the logic should also work in that case.