[all-commits] [llvm/llvm-project] d54793: [SLU][profcheck] create likely branch weights for ...
Mircea Trofin via All-commits
all-commits at lists.llvm.org
Tue Nov 4 16:39:33 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d54793113798f74424f21b94fe74bd675a11e801
https://github.com/llvm/llvm-project/commit/d54793113798f74424f21b94fe74bd675a11e801
Author: Mircea Trofin <mtrofin at google.com>
Date: 2025-11-04 (Tue, 04 Nov 2025)
Changed paths:
M llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
M llvm/test/Transforms/SimpleLoopUnswitch/guards.ll
Log Message:
-----------
[SLU][profcheck] create likely branch weights for guard->branch (#164271)
The `llvm.experimental.guard` intrinsic is a `call`, so its metadata - if present - would be one value (as per `Verifier::visitProfMetadata`). That wouldn't be a correct `branch_weights` metadata. Likely, `GI->getMetadata(LLVMContext::MD_prof)` was always `nullptr`.
We can bias away from deopt instead.
Issue #147390
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list