aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineCopyPropagation.cpp
diff options
context:
space:
mode:
authorFred Tingaud <95592999+frederic-tingaud-sonarsource@users.noreply.github.com>2025-10-02 18:16:30 +0200
committerGitHub <noreply@github.com>2025-10-02 16:16:30 +0000
commit5ed678a1d9b428780744098078dc52387b1e7a79 (patch)
tree48e2eed96b46d3eedf7e9a2ccdabead001366f91 /llvm/lib/CodeGen/MachineCopyPropagation.cpp
parented12dc5e306c6d062c71e89f47756e771792f4fb (diff)
downloadllvm-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