diff options
Diffstat (limited to 'llvm/lib/CodeGen/MachineBlockPlacement.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineBlockPlacement.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/llvm/lib/CodeGen/MachineBlockPlacement.cpp b/llvm/lib/CodeGen/MachineBlockPlacement.cpp index ce920a117ae..038634aeb6e 100644 --- a/llvm/lib/CodeGen/MachineBlockPlacement.cpp +++ b/llvm/lib/CodeGen/MachineBlockPlacement.cpp @@ -69,11 +69,6 @@ static cl::opt<unsigned> AlignAllNonFallThruBlocks( "nops that are executed)."), cl::init(0), cl::Hidden); -static cl::opt<unsigned> - AlignAllLoops("align-all-loops", - cl::desc("Force the alignment of all loops in the function."), - cl::init(0), cl::Hidden); - // FIXME: Find a good default for this flag and remove the flag. static cl::opt<unsigned> ExitBlockBias( "block-placement-exit-block-bias", @@ -1341,11 +1336,6 @@ void MachineBlockPlacement::buildCFGChains(MachineFunction &F) { if (!L) continue; - if (AlignAllLoops) { - ChainBB->setAlignment(AlignAllLoops); - continue; - } - unsigned Align = TLI->getPrefLoopAlignment(L); if (!Align) continue; // Don't care about loop alignment. |