[all-commits] [llvm/llvm-project] 401c05: [Coroutines] Fix assertion failure in CoroAnnotati...
Grigory Pastukhov via All-commits
all-commits at lists.llvm.org
Thu Oct 16 09:31:58 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 401c05ab1b2535286c49f29ac92fa93bf4331363
https://github.com/llvm/llvm-project/commit/401c05ab1b2535286c49f29ac92fa93bf4331363
Author: Grigory Pastukhov <99913765+grigorypas at users.noreply.github.com>
Date: 2025-10-16 (Thu, 16 Oct 2025)
Changed paths:
M llvm/lib/Transforms/Coroutines/CoroAnnotationElide.cpp
Log Message:
-----------
[Coroutines] Fix assertion failure in CoroAnnotationElide pass (#163609)
Replace BranchProbability::getBranchProbability(BlockFreq, EntryFreq)
with
direct frequency comparison to avoid assertion failure when BlockFreq >
EntryFreq
(e.g., call site in hot loop). Semantics unchanged.
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