|
@@ -47,7 +47,7 @@ namespace {
|
|
MachineFunctionProperties::Property::FailedISel)) {
|
|
MachineFunctionProperties::Property::FailedISel)) {
|
|
if (AbortOnFailedISel)
|
|
if (AbortOnFailedISel)
|
|
report_fatal_error("Instruction selection failed");
|
|
report_fatal_error("Instruction selection failed");
|
|
- DEBUG(dbgs() << "Reseting: " << MF.getName() << '\n');
|
|
|
|
|
|
+ DEBUG(dbgs() << "Resetting: " << MF.getName() << '\n');
|
|
++NumFunctionsReset;
|
|
++NumFunctionsReset;
|
|
MF.reset();
|
|
MF.reset();
|
|
if (EmitFallbackDiag) {
|
|
if (EmitFallbackDiag) {
|
|
@@ -65,7 +65,7 @@ namespace {
|
|
|
|
|
|
char ResetMachineFunction::ID = 0;
|
|
char ResetMachineFunction::ID = 0;
|
|
INITIALIZE_PASS(ResetMachineFunction, DEBUG_TYPE,
|
|
INITIALIZE_PASS(ResetMachineFunction, DEBUG_TYPE,
|
|
- "reset machine function if ISel failed", false, false)
|
|
|
|
|
|
+ "Reset machine function if ISel failed", false, false)
|
|
|
|
|
|
MachineFunctionPass *
|
|
MachineFunctionPass *
|
|
llvm::createResetMachineFunctionPass(bool EmitFallbackDiag = false,
|
|
llvm::createResetMachineFunctionPass(bool EmitFallbackDiag = false,
|