diff options
| author | Mircea Trofin <mtrofin@google.com> | 2025-11-05 17:14:03 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-05 17:14:03 -0800 |
| commit | 77e3975236fcb47f431e3793846746103d259d81 (patch) | |
| tree | 819c23d5b571a6b04982dec7657b9d6a1e2695ef /llvm/unittests/XRay/GraphTest.cpp | |
| parent | b84784f9e63dbf7663c6d29d15df5902522f5656 (diff) | |
| download | llvm-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/unittests/XRay/GraphTest.cpp')
0 files changed, 0 insertions, 0 deletions
