forked from OSchip/llvm-project
[X86] Remove -x86-experimental-pref-loop-alignment in favor of -align-loops
This commit is contained in:
parent
981ad13ac6
commit
9c19b36f1c
|
@ -71,14 +71,6 @@ using namespace llvm;
|
||||||
|
|
||||||
STATISTIC(NumTailCalls, "Number of tail calls");
|
STATISTIC(NumTailCalls, "Number of tail calls");
|
||||||
|
|
||||||
static cl::opt<int> ExperimentalPrefLoopAlignment(
|
|
||||||
"x86-experimental-pref-loop-alignment", cl::init(4),
|
|
||||||
cl::desc(
|
|
||||||
"Sets the preferable loop alignment for experiments (as log2 bytes)"
|
|
||||||
"(the last x86-experimental-pref-loop-alignment bits"
|
|
||||||
" of the loop header PC will be 0)."),
|
|
||||||
cl::Hidden);
|
|
||||||
|
|
||||||
static cl::opt<int> ExperimentalPrefInnermostLoopAlignment(
|
static cl::opt<int> ExperimentalPrefInnermostLoopAlignment(
|
||||||
"x86-experimental-pref-innermost-loop-alignment", cl::init(4),
|
"x86-experimental-pref-innermost-loop-alignment", cl::init(4),
|
||||||
cl::desc(
|
cl::desc(
|
||||||
|
@ -2070,8 +2062,8 @@ X86TargetLowering::X86TargetLowering(const X86TargetMachine &TM,
|
||||||
MaxLoadsPerMemcmp = 2;
|
MaxLoadsPerMemcmp = 2;
|
||||||
MaxLoadsPerMemcmpOptSize = 2;
|
MaxLoadsPerMemcmpOptSize = 2;
|
||||||
|
|
||||||
// Set loop alignment to 2^ExperimentalPrefLoopAlignment bytes (default: 2^4).
|
// Default loop alignment, which can be overridden by -align-loops.
|
||||||
setPrefLoopAlignment(Align(1ULL << ExperimentalPrefLoopAlignment));
|
setPrefLoopAlignment(Align(16));
|
||||||
|
|
||||||
// An out-of-order CPU can speculatively execute past a predictable branch,
|
// An out-of-order CPU can speculatively execute past a predictable branch,
|
||||||
// but a conditional move could be stalled by an expensive earlier operation.
|
// but a conditional move could be stalled by an expensive earlier operation.
|
||||||
|
|
Loading…
Reference in New Issue