[MoveAutoInit] Ignore unreachable basicblocks and handle catchswitch (#78232)
Fixes #78049 This patch has done: - Ignore unreachable predecessors when looking for nearest common dominator. - Check catchswitch with `getFirstNonPHI`, instead of `getFirstInsertionPt`. The latter skips EHPad.
Loading
Please sign in to comment