aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bugpoint
diff options
context:
space:
mode:
Diffstat (limited to 'tools/bugpoint')
-rw-r--r--tools/bugpoint/CrashDebugger.cpp4
-rw-r--r--tools/bugpoint/ListReducer.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/bugpoint/CrashDebugger.cpp b/tools/bugpoint/CrashDebugger.cpp
index 84ba2dc..84d4d40 100644
--- a/tools/bugpoint/CrashDebugger.cpp
+++ b/tools/bugpoint/CrashDebugger.cpp
@@ -320,8 +320,8 @@ bool BugDriver::debugCrash() {
std::cout << "\n*** Attempting to reduce testcase by deleting instruc"
<< "tions: Simplification Level #" << Simplification << "\n";
- // Now that we have deleted the functions that are unneccesary for the
- // program, try to remove instructions that are not neccesary to cause the
+ // Now that we have deleted the functions that are unnecessary for the
+ // program, try to remove instructions that are not necessary to cause the
// crash. To do this, we loop through all of the instructions in the
// remaining functions, deleting them (replacing any values produced with
// nulls), and then running ADCE and SimplifyCFG. If the transformed input
diff --git a/tools/bugpoint/ListReducer.h b/tools/bugpoint/ListReducer.h
index cee6892..cc8ab20 100644
--- a/tools/bugpoint/ListReducer.h
+++ b/tools/bugpoint/ListReducer.h
@@ -68,7 +68,7 @@ struct ListReducer {
break;
case NoFailure:
// Otherwise the property doesn't hold. Some of the elements we removed
- // must be neccesary to maintain the property.
+ // must be necessary to maintain the property.
MidTop = Mid;
break;
}