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

Sjoerd Meijer via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 27 09:04:11 PDT 2016


SjoerdMeijer updated this revision to Diff 65754.
SjoerdMeijer added a comment.

I have added checks to see if the header's layout predecessor is a fallthrough or unconditional branch to the loop header. In that case we do not move up the latch block, but we still do otherwise.


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.65754.patch
Type: text/x-patch
Size: 3912 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160727/cecd9c21/attachment.bin>


More information about the llvm-commits mailing list