aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LLVMTargetMachine.cpp
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2023-09-22 12:57:13 -0700
committerGitHub <noreply@github.com>2023-09-22 12:57:13 -0700
commitc373a1ff181ca02e8a8e46ed22fbaabeaf1d17c7 (patch)
tree2622600b6bdb9b9528d662af241106e0400f488a /llvm/lib/CodeGen/LLVMTargetMachine.cpp
parenta5a008ff4f5908e59ded084cc14a2237f080d681 (diff)
downloadllvm-c373a1ff181ca02e8a8e46ed22fbaabeaf1d17c7.zip
llvm-c373a1ff181ca02e8a8e46ed22fbaabeaf1d17c7.tar.gz
llvm-c373a1ff181ca02e8a8e46ed22fbaabeaf1d17c7.tar.bz2
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
Diffstat (limited to 'llvm/lib/CodeGen/LLVMTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions