[all-commits] [llvm/llvm-project] dc8690: [BPI] Add method to swap outgoing edges probabilities
Max Kazantsev via All-commits
all-commits at lists.llvm.org
Tue Apr 18 06:05:41 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dc86900ff31e35e61ec9c5adca0488bf33d11833
https://github.com/llvm/llvm-project/commit/dc86900ff31e35e61ec9c5adca0488bf33d11833
Author: Max Kazantsev <mkazantsev at azul.com>
Date: 2023-04-18 (Tue, 18 Apr 2023)
Changed paths:
M llvm/include/llvm/Analysis/BranchProbabilityInfo.h
M llvm/lib/Analysis/BranchProbabilityInfo.cpp
M llvm/unittests/Analysis/BranchProbabilityInfoTest.cpp
Log Message:
-----------
[BPI] Add method to swap outgoing edges probabilities
The motivation is need to update branch probability info after
swapping successors of branch instruction.
Differential Revision: https://reviews.llvm.org/D148237
Reviewed By: nikic
More information about the All-commits
mailing list