[InstCombine] avoid crash sinking to unreachable block
The test is reduced from the example in D82005. Similar to 94f6d365, the test here would assert in the DomTree when we tried to convert a select to a phi with an unreachable block operand. We may want to add some kind of guard code in DomTree itself to avoid this sort of problem.
Loading
Please sign in to comment