[llvm] r282267 - [RegBankSelect] Use DEBUG_TYPE instead of repeating the name of the pass
Quentin Colombet via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 23 10:50:07 PDT 2016
Author: qcolombet
Date: Fri Sep 23 12:50:06 2016
New Revision: 282267
URL: http://llvm.org/viewvc/llvm-project?rev=282267&view=rev
Log:
[RegBankSelect] Use DEBUG_TYPE instead of repeating the name of the pass
NFC
Modified:
llvm/trunk/lib/CodeGen/GlobalISel/RegBankSelect.cpp
Modified: llvm/trunk/lib/CodeGen/GlobalISel/RegBankSelect.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/GlobalISel/RegBankSelect.cpp?rev=282267&r1=282266&r2=282267&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/GlobalISel/RegBankSelect.cpp (original)
+++ llvm/trunk/lib/CodeGen/GlobalISel/RegBankSelect.cpp Fri Sep 23 12:50:06 2016
@@ -37,13 +37,13 @@ static cl::opt<RegBankSelect::Mode> RegB
clEnumValEnd));
char RegBankSelect::ID = 0;
-INITIALIZE_PASS_BEGIN(RegBankSelect, "regbankselect",
+INITIALIZE_PASS_BEGIN(RegBankSelect, DEBUG_TYPE,
"Assign register bank of generic virtual registers",
false, false);
INITIALIZE_PASS_DEPENDENCY(MachineBlockFrequencyInfo)
INITIALIZE_PASS_DEPENDENCY(MachineBranchProbabilityInfo)
INITIALIZE_PASS_DEPENDENCY(TargetPassConfig)
-INITIALIZE_PASS_END(RegBankSelect, "regbankselect",
+INITIALIZE_PASS_END(RegBankSelect, DEBUG_TYPE,
"Assign register bank of generic virtual registers", false,
false)
More information about the llvm-commits
mailing list