[llvm] r279878 - [IRTranslator][NFC] Use DEBUG_TYPE instead of repeating the name.
Quentin Colombet via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 26 15:32:57 PDT 2016
Author: qcolombet
Date: Fri Aug 26 17:32:57 2016
New Revision: 279878
URL: http://llvm.org/viewvc/llvm-project?rev=279878&view=rev
Log:
[IRTranslator][NFC] Use DEBUG_TYPE instead of repeating the name.
Modified:
llvm/trunk/lib/CodeGen/GlobalISel/IRTranslator.cpp
Modified: llvm/trunk/lib/CodeGen/GlobalISel/IRTranslator.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/GlobalISel/IRTranslator.cpp?rev=279878&r1=279877&r2=279878&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/GlobalISel/IRTranslator.cpp (original)
+++ llvm/trunk/lib/CodeGen/GlobalISel/IRTranslator.cpp Fri Aug 26 17:32:57 2016
@@ -30,7 +30,7 @@
using namespace llvm;
char IRTranslator::ID = 0;
-INITIALIZE_PASS(IRTranslator, "irtranslator", "IRTranslator LLVM IR -> MI",
+INITIALIZE_PASS(IRTranslator, DEBUG_TYPE, "IRTranslator LLVM IR -> MI",
false, false)
IRTranslator::IRTranslator() : MachineFunctionPass(ID), MRI(nullptr) {
More information about the llvm-commits
mailing list