diff options
author | Matthias Braun <matze@braunis.de> | 2023-09-22 12:57:13 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-22 12:57:13 -0700 |
commit | c373a1ff181ca02e8a8e46ed22fbaabeaf1d17c7 (patch) | |
tree | 2622600b6bdb9b9528d662af241106e0400f488a /llvm/lib/CodeGen/LLVMTargetMachine.cpp | |
parent | a5a008ff4f5908e59ded084cc14a2237f080d681 (diff) | |
download | llvm-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