[PATCH] D22521: [MBP] do not reorder and move up loop latch block
David Li via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 16 11:40:00 PDT 2016
davidxl accepted this revision.
davidxl added a comment.
This revision is now accepted and ready to land.
lgtm with the nit.
================
Comment at: lib/CodeGen/MachineBlockPlacement.cpp:976
@@ +975,3 @@
+ // that can fallthrough and that is also placed before the header.
+ if (L.getHeader()->getParent()->getFunction()->optForSize())
+ return L.getHeader();
----------------
if (F->getFunction()->optForSize())
..
https://reviews.llvm.org/D22521
More information about the llvm-commits
mailing list