[PATCH] D21663: [MBP] Enhance cost based branch prob threshold computation to handle general control flows

David Li via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 23 15:14:06 PDT 2016


davidxl created this revision.
davidxl added reviewers: danielcdh, congh.
davidxl added a subscriber: llvm-commits.

See comments in the code for details.

Also added more extensive testing in various scenarios to make sure the optimal layout (with minimal branch cost or maximal fall through) is picked.

http://reviews.llvm.org/D21663

Files:
  lib/CodeGen/MachineBlockPlacement.cpp
  test/CodeGen/X86/code_placement_pgo_cost.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21663.61730.patch
Type: text/x-patch
Size: 22041 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160623/d5557dbc/attachment.bin>


More information about the llvm-commits mailing list