Allow merge blocks to merge two header blocks in some cases. (#1890)
In merge blocks, we do not allow the merging of two blocks with merge instructions. This is because if the two block are merged only 1 of those instructions can exists. However, if the successor block is the merge block of the predecessor, then we can delete the merge instruction in the predecessor. In this case, we are able to merge the blocks.
Loading
Please register or sign in to comment