mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-26 22:45:05 +00:00
TargetPassConfig: Rename DisablePostRA -> DisablePostRASched; NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@289003 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f3e629e3ec
commit
bcfa1f7a75
@ -38,8 +38,8 @@
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
static cl::opt<bool> DisablePostRA("disable-post-ra", cl::Hidden,
|
||||
cl::desc("Disable Post Regalloc"));
|
||||
static cl::opt<bool> DisablePostRASched("disable-post-ra", cl::Hidden,
|
||||
cl::desc("Disable Post Regalloc Scheduler"));
|
||||
static cl::opt<bool> DisableBranchFold("disable-branch-fold", cl::Hidden,
|
||||
cl::desc("Disable branch folding"));
|
||||
static cl::opt<bool> DisableTailDuplicate("disable-tail-duplicate", cl::Hidden,
|
||||
@ -157,7 +157,7 @@ static IdentifyingPassPtr applyDisable(IdentifyingPassPtr PassID,
|
||||
static IdentifyingPassPtr overridePass(AnalysisID StandardID,
|
||||
IdentifyingPassPtr TargetID) {
|
||||
if (StandardID == &PostRASchedulerID)
|
||||
return applyDisable(TargetID, DisablePostRA);
|
||||
return applyDisable(TargetID, DisablePostRASched);
|
||||
|
||||
if (StandardID == &BranchFolderPassID)
|
||||
return applyDisable(TargetID, DisableBranchFold);
|
||||
|
Loading…
x
Reference in New Issue
Block a user