diff options
| author | Fred Tingaud <95592999+frederic-tingaud-sonarsource@users.noreply.github.com> | 2025-10-02 18:16:30 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-02 16:16:30 +0000 |
| commit | 5ed678a1d9b428780744098078dc52387b1e7a79 (patch) | |
| tree | 48e2eed96b46d3eedf7e9a2ccdabead001366f91 /llvm/lib/CodeGen/MachineCopyPropagation.cpp | |
| parent | ed12dc5e306c6d062c71e89f47756e771792f4fb (diff) | |
| download | llvm-5ed678a1d9b428780744098078dc52387b1e7a79.zip llvm-5ed678a1d9b428780744098078dc52387b1e7a79.tar.gz llvm-5ed678a1d9b428780744098078dc52387b1e7a79.tar.bz2 | |
[CFG] Add a BuildOption to consider default branch of switch on covered enumerations (#161345)
By default, the `default:` branch (or the successor if there is no
`default` and cases return) of a switch on fully covered enumerations is
considered as "Unreachable". It is a sane assumption in most cases, but
not always. That commit allows to change such behavior when needed.
Diffstat (limited to 'llvm/lib/CodeGen/MachineCopyPropagation.cpp')
0 files changed, 0 insertions, 0 deletions
