llvm-project
e55bb9eb - [InstCombine][profcheck] Set unknown branch weights when folding booleans (#185769)

Commit
47 days ago
[InstCombine][profcheck] Set unknown branch weights when folding booleans (#185769) In cases where two logical operations are folded into one, InstCombine first folds one of the logical operations into an binary operation, losing the profile information. Ordinarily, we could've used that information to compute the branch weight information of the new instruction, but since we don't have the original weights, we say the new instruction has unknown branch weights. Tracking issue: #147390
Author
Parents
Loading