[PATCH] D74809: Include static prof data when collecting loop BBs
Bill Wendling via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 18 17:27:05 PST 2020
void created this revision.
Herald added subscribers: llvm-commits, JDevlieghere, hiraditya.
Herald added a project: LLVM.
void added reviewers: yamauchi, nickdesaulniers.
If the programmer adds static profile data to a branch---i.e. uses
"__builtin_expect()" or similar---then we should honor it. Otherwise,
"__builtin_expect()" is ignored in crucial situations. So we trust that
the programmer knows what they're doing until proven wrong.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D74809
Files:
llvm/lib/CodeGen/MachineBlockPlacement.cpp
llvm/test/CodeGen/Hexagon/prof-early-if.ll
llvm/test/CodeGen/X86/block-placement-2.ll
llvm/test/CodeGen/X86/block-placement.ll
llvm/test/CodeGen/X86/move_latch_to_loop_top.ll
llvm/test/CodeGen/X86/ragreedy-bug.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74809.245307.patch
Type: text/x-patch
Size: 12831 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200219/85417b0b/attachment.bin>
More information about the llvm-commits
mailing list