[PATCH] D15648: Add command line options to override target preferred/minimum function/loop alignments.
Geoff Berry via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 18 11:00:09 PST 2015
gberry added inline comments.
================
Comment at: lib/CodeGen/MachineBlockPlacement.cpp:1334
@@ -1334,1 +1333,3 @@
+ unsigned MinAlign = TLI->getMinLoopAlignment();
+ if (!Align && !MinAlign)
continue; // Don't care about loop alignment.
----------------
If you move the max up before the if, you don't need to change the !Align check.
http://reviews.llvm.org/D15648
More information about the llvm-commits
mailing list