llvm-project
c4a134f5 - [profcheck] Add unknown branch weights for inlined strcmp/strncmp (#160455)

Commit
2 days ago
[profcheck] Add unknown branch weights for inlined strcmp/strncmp (#160455) The strcmp/strncmp inliner creates new conditional branches but was failing to add profile metadata. This caused the ProfileVerifierPass to fail when profcheck is enabled. This patch fixes the issue by explicitly adding unknown branch weights to these branches. Issue #147390
Author
Parents
Loading