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

Cong Hou congh at google.com
Thu Jun 25 10:39:31 PDT 2015


Bug fix for checking if a function has profile data (from using hasMetadata() to getEntryCount()).


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.28476.patch
Type: text/x-patch
Size: 8414 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150625/5d172c97/attachment.bin>


More information about the llvm-commits mailing list