[PATCH] D22521: [MBP] do not reorder and move up loop latch block

Sjoerd Meijer via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 19 09:19:18 PDT 2016


SjoerdMeijer created this revision.
SjoerdMeijer added reviewers: chandlerc, davidxl, jmolloy.
SjoerdMeijer added a subscriber: llvm-commits.

Do not reorder and move up a loop latch block when optimising for size because this will generate an extra unconditional branch. Also some more cleaning up of comments.


https://reviews.llvm.org/D22521

Files:
  lib/CodeGen/MachineBlockPlacement.cpp
  test/CodeGen/X86/loop-blocks.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22521.64511.patch
Type: text/x-patch
Size: 7312 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160719/1e283a14/attachment.bin>


More information about the llvm-commits mailing list