llvm-project
f932646b - [SimplifyCFG][PGO] Add missing overflow check to ConstantFoldTerminator (#178964)

Commit
72 days ago
[SimplifyCFG][PGO] Add missing overflow check to ConstantFoldTerminator (#178964) Branch weight metadata can overflow when folding large branch weights. Updated branch weights to uint64_t, added check for overflow, and then set branch weights using setFittedBranchWeights to ensure branch weight metadata is not lost.
Author
Parents
Loading