[llvm] r324048 - Fix debug spelling in ResetMachineFunction pass.
Amara Emerson via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 1 17:49:59 PST 2018
Author: aemerson
Date: Thu Feb 1 17:49:59 2018
New Revision: 324048
URL: http://llvm.org/viewvc/llvm-project?rev=324048&view=rev
Log:
Fix debug spelling in ResetMachineFunction pass.
Modified:
llvm/trunk/lib/CodeGen/ResetMachineFunctionPass.cpp
Modified: llvm/trunk/lib/CodeGen/ResetMachineFunctionPass.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/ResetMachineFunctionPass.cpp?rev=324048&r1=324047&r2=324048&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/ResetMachineFunctionPass.cpp (original)
+++ llvm/trunk/lib/CodeGen/ResetMachineFunctionPass.cpp Thu Feb 1 17:49:59 2018
@@ -47,7 +47,7 @@ namespace {
MachineFunctionProperties::Property::FailedISel)) {
if (AbortOnFailedISel)
report_fatal_error("Instruction selection failed");
- DEBUG(dbgs() << "Reseting: " << MF.getName() << '\n');
+ DEBUG(dbgs() << "Resetting: " << MF.getName() << '\n');
++NumFunctionsReset;
MF.reset();
if (EmitFallbackDiag) {
@@ -65,7 +65,7 @@ namespace {
char ResetMachineFunction::ID = 0;
INITIALIZE_PASS(ResetMachineFunction, DEBUG_TYPE,
- "reset machine function if ISel failed", false, false)
+ "Reset machine function if ISel failed", false, false)
MachineFunctionPass *
llvm::createResetMachineFunctionPass(bool EmitFallbackDiag = false,
More information about the llvm-commits
mailing list