[PATCH] Enhance loop rotation with existence of profile data in MachineBlockPlacement pass.

Cong Hou congh at google.com
Wed Jun 24 19:25:56 PDT 2015


I have added a test case for this patch, which checks whether the loop will be rotated if there is profile data for the function so that the hot back edge will become fall-through.


http://reviews.llvm.org/D10717

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

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10717.28435.patch
Type: text/x-patch
Size: 8412 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150625/e7bf2d50/attachment.bin>


More information about the llvm-commits mailing list