[ConstraintElim] Fix sort order to not comparing insts in different bbs.
Update the sort order to make sure that comesBefore is never used from conditional facts, which are instructions but may use DFS numbers from different blocks. This fixes a crash in the added test on some platforms.
Loading
Please sign in to comment