Files
clang-p2996/llvm/lib/Transforms/Utils/MoveAutoInit.cpp
XChy 26d3cd1d07 [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.
2024-01-16 18:45:44 +08:00

7.9 KiB