diff options
author | XChy <xxs_chy@outlook.com> | 2024-01-16 18:45:44 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-16 18:45:44 +0800 |
commit | 26d3cd1d07ae3fc8312feb2ab3a3a86414f28c70 (patch) | |
tree | 2ddc596b8a98ce2853bfad9b6ffab578471d254e /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | de8f782355842a5d3ad44ad8861c53e3ef6fa73a (diff) | |
download | llvm-26d3cd1d07ae3fc8312feb2ab3a3a86414f28c70.zip llvm-26d3cd1d07ae3fc8312feb2ab3a3a86414f28c70.tar.gz llvm-26d3cd1d07ae3fc8312feb2ab3a3a86414f28c70.tar.bz2 |
[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.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions