[VPlan] Adjust assert in splitBlock to allow splitting at end.
SplitAt should only be dereferenced in the assert if it does not point to the end of the block. This fixes a crash in the added test case.
Loading
Please sign in to comment
SplitAt should only be dereferenced in the assert if it does not point to the end of the block. This fixes a crash in the added test case.