[PATCH] D28593: Update loop branch_weight metadata after loop rotation.
Xin Tong via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 2 13:58:31 PDT 2017
trentxintong updated this revision to Diff 97497.
trentxintong added a comment.
Rework the reworked metadata update in loop rotation. I still have some hardcoded numbers
i do not know whether to put them as options.
At least, we should try to agree on the mechanism itself and start collecting some numbers.
https://reviews.llvm.org/D28593
Files:
lib/Transforms/Scalar/LoopRotation.cpp
lib/Transforms/Utils/LoopUtils.cpp
test/Transforms/LoopRotate/loop-rotate-pgo.ll
test/Transforms/LoopUnroll/peel-loop-pgo.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28593.97497.patch
Type: text/x-patch
Size: 16099 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170502/4c5ee7a6/attachment.bin>
More information about the llvm-commits
mailing list