mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
Partially revert "Add command line options to force function/loop alignments."
This partially reverts r256571 in favor of the solution in r258409. llvm-svn: 258421
This commit is contained in:
parent
69b08ad25b
commit
b9cedfb407
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user