diff options
author | Johannes Doerfert <johannes@jdoerfert.de> | 2023-08-14 00:26:22 -0700 |
---|---|---|
committer | Johannes Doerfert <johannes@jdoerfert.de> | 2023-08-17 22:42:38 -0700 |
commit | 361b536bbc678b59cf1391346bb6613f1ab4f00c (patch) | |
tree | d4cef716c6e0aebc6dceb504a044b3b06a2b8aff /llvm/tools/llvm-cov/SourceCoverageViewText.cpp | |
parent | a9167c2e475a60198bb673d9cc22ea8c701e0d91 (diff) | |
download | llvm-361b536bbc678b59cf1391346bb6613f1ab4f00c.zip llvm-361b536bbc678b59cf1391346bb6613f1ab4f00c.tar.gz llvm-361b536bbc678b59cf1391346bb6613f1ab4f00c.tar.bz2 |
[Attributor] Simplify switches with more than one potential condition
Before, we allowed the condition to be simplified to a simple constant
only, otherwise we assumed all successors are live. Now we allow
multiple constants, and mark the default successor as dead accordingly.
Diffstat (limited to 'llvm/tools/llvm-cov/SourceCoverageViewText.cpp')
0 files changed, 0 insertions, 0 deletions