llvm-project
77e39752 - [LSCFG][profcheck] Add dummy branch weights for the dummy switch to dead exits (#164714)

Commit
38 days ago
[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
Author
Parents
Loading