[all-commits] [llvm/llvm-project] c373a1: LoopRotationUtils: Special case zero-branch weight...
Matthias Braun via All-commits
all-commits at lists.llvm.org
Fri Sep 22 12:57:28 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c373a1ff181ca02e8a8e46ed22fbaabeaf1d17c7
https://github.com/llvm/llvm-project/commit/c373a1ff181ca02e8a8e46ed22fbaabeaf1d17c7
Author: Matthias Braun <matze at braunis.de>
Date: 2023-09-22 (Fri, 22 Sep 2023)
Changed paths:
M llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
M llvm/test/Transforms/LoopRotate/update-branch-weights.ll
Log Message:
-----------
LoopRotationUtils: Special case zero-branch weight cases (#66681)
The formula I added to LoopRotationUtils does not produce reasonable
results if some of the branch weights are zero. Add special case
handling for this.
This fixes https://github.com/llvm/llvm-project/issues/66675
More information about the All-commits
mailing list