[PATCH] D157462: LoopRotate: Add code to update branch weights
Matthias Braun via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 23 11:58:28 PDT 2023
MatzeB updated this revision to Diff 552834.
MatzeB added a comment.
- Fixed overflow test when scaling up weights.
- Still need a better way than hardcoding 127 as "likely" branch weight; hoping that people can give me some hint in the discussion I started in https://reviews.llvm.org/D158642
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D157462/new/
https://reviews.llvm.org/D157462
Files:
llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
llvm/test/Transforms/LoopRotate/update-branch-weights.ll
llvm/test/Transforms/LoopSimplify/merge-exits.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157462.552834.patch
Type: text/x-patch
Size: 12559 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230823/09b70f89/attachment.bin>
More information about the llvm-commits
mailing list