[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.
parent
8d30b9e6
Please register or sign in to comment