Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
Should that condition even be there? It seems like a selector may well want to add extra blocks and that's probably one of the benefits of GlobalISel.
There assertion right afterwards says that inserting blocks is not supported, so if that's true then I think we need to keep it.
I'm fine with removing the restriction, but we need to decide whether to select the new block. If so, the MF iteration will need to be fixed. If not, let's make it explicit and verify it.
For now, the patch LGTM.
I'm fine with removing the restriction, but we need to decide whether to select the new block. If so, the MF iteration will need to be fixed. If not, let's make it explicit and verify it.
It could be a work list and the target decide to push the new block into it or not.
I would rather remove this limitation but given we don't have a use case/test case, for now let us keep it.