[llvm] r289003 - TargetPassConfig: Rename DisablePostRA -> DisablePostRASched; NFC

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 7 16:16:08 PST 2016


Author: matze
Date: Wed Dec  7 18:16:08 2016
New Revision: 289003

URL: http://llvm.org/viewvc/llvm-project?rev=289003&view=rev
Log:
TargetPassConfig: Rename DisablePostRA -> DisablePostRASched; NFC

Modified:
    llvm/trunk/lib/CodeGen/TargetPassConfig.cpp

Modified: llvm/trunk/lib/CodeGen/TargetPassConfig.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/TargetPassConfig.cpp?rev=289003&r1=289002&r2=289003&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/TargetPassConfig.cpp (original)
+++ llvm/trunk/lib/CodeGen/TargetPassConfig.cpp Wed Dec  7 18:16:08 2016
@@ -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(I
 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);




More information about the llvm-commits mailing list