aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/BalancedPartitioning.cpp
diff options
context:
space:
mode:
authorMircea Trofin <mtrofin@google.com>2025-11-05 17:14:03 -0800
committerGitHub <noreply@github.com>2025-11-05 17:14:03 -0800
commit77e3975236fcb47f431e3793846746103d259d81 (patch)
tree819c23d5b571a6b04982dec7657b9d6a1e2695ef /llvm/lib/Support/BalancedPartitioning.cpp
parentb84784f9e63dbf7663c6d29d15df5902522f5656 (diff)
downloadllvm-77e3975236fcb47f431e3793846746103d259d81.zip
llvm-77e3975236fcb47f431e3793846746103d259d81.tar.gz
llvm-77e3975236fcb47f431e3793846746103d259d81.tar.bz2
[LSCFG][profcheck] Add dummy branch weights for the dummy switch to dead exits (#164714)
As noted in the doc comment of `handleDeadExits`​, the dummy switch is just an artifact of the constraints placed by the fact that we operate in a loop pass. Adding weights here is unnecessary, but the complexity is low, and it helps keep things easy for profile propagation verification (in a sense, the overall complexity would be higher if we special-cased this somehow). Issue #147390
Diffstat (limited to 'llvm/lib/Support/BalancedPartitioning.cpp')
0 files changed, 0 insertions, 0 deletions