mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-04 05:31:51 +00:00
Rename the BB-vectorize flag to match the dragonegg name
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166948 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2a2263e744
commit
2459bf2427
@ -103,7 +103,7 @@ public:
|
|||||||
bool DisableSimplifyLibCalls;
|
bool DisableSimplifyLibCalls;
|
||||||
bool DisableUnitAtATime;
|
bool DisableUnitAtATime;
|
||||||
bool DisableUnrollLoops;
|
bool DisableUnrollLoops;
|
||||||
bool BBVectorize;
|
bool Vectorize;
|
||||||
bool LoopVectorize;
|
bool LoopVectorize;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
@ -55,7 +55,7 @@ PassManagerBuilder::PassManagerBuilder() {
|
|||||||
DisableSimplifyLibCalls = false;
|
DisableSimplifyLibCalls = false;
|
||||||
DisableUnitAtATime = false;
|
DisableUnitAtATime = false;
|
||||||
DisableUnrollLoops = false;
|
DisableUnrollLoops = false;
|
||||||
BBVectorize = RunBBVectorization;
|
Vectorize = RunBBVectorization;
|
||||||
LoopVectorize = RunLoopVectorization;
|
LoopVectorize = RunLoopVectorization;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -212,7 +212,7 @@ void PassManagerBuilder::populateModulePassManager(PassManagerBase &MPM) {
|
|||||||
|
|
||||||
addExtensionsToPM(EP_ScalarOptimizerLate, MPM);
|
addExtensionsToPM(EP_ScalarOptimizerLate, MPM);
|
||||||
|
|
||||||
if (BBVectorize) {
|
if (Vectorize) {
|
||||||
MPM.add(createBBVectorizePass());
|
MPM.add(createBBVectorizePass());
|
||||||
MPM.add(createInstructionCombiningPass());
|
MPM.add(createInstructionCombiningPass());
|
||||||
if (OptLevel > 1 && UseGVNAfterVectorization)
|
if (OptLevel > 1 && UseGVNAfterVectorization)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user