[llvm] r179353 - Add a flag to align all basic blocks in the function.

Chandler Carruth chandlerc at google.com
Thu Apr 11 17:57:50 PDT 2013


On Thu, Apr 11, 2013 at 5:48 PM, Nadav Rotem <nrotem at apple.com> wrote:

> +  if (AlignAllBlock) {
> +    // Align all of the blocks in the function to a specific alignment.
> +    for (MachineFunction::iterator FI = F.begin(), FE = F.end();
> +         FI != FE; ++FI)
> +      FI->setAlignment(AlignAllBlock);
> +    return true;
> +  }
> +
>    buildCFGChains(F);
>


Huh? This turns of block layout altogether, which seems rather surprising
for a flag called "align-all-blocks".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130411/613516c8/attachment.html>


More information about the llvm-commits mailing list