Spell `necessary' correctly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7944 91177308-0d34-0410-b5e6-96231b3b80d8
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 @@
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 @@
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;
}