aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Target/Target.td2
-rw-r--r--lib/Transforms/Utils/InlineFunction.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/Target.td b/lib/Target/Target.td
index 96e4e28375..6f8771d290 100644
--- a/lib/Target/Target.td
+++ b/lib/Target/Target.td
@@ -39,7 +39,7 @@ class Register<string n> {
int SpillAlignment = 0;
// Aliases - A list of registers that this register overlaps with. A read or
- // modification of this register can potentially read or modifie the aliased
+ // modification of this register can potentially read or modify the aliased
// registers.
//
list<Register> Aliases = [];
diff --git a/lib/Transforms/Utils/InlineFunction.cpp b/lib/Transforms/Utils/InlineFunction.cpp
index 07194e38ad..d57a8f58ab 100644
--- a/lib/Transforms/Utils/InlineFunction.cpp
+++ b/lib/Transforms/Utils/InlineFunction.cpp
@@ -263,7 +263,7 @@ bool llvm::InlineFunction(CallSite CS, CallGraph *CG, const TargetData *TD) {
++I;
// Transfer all of the allocas over in a block. Using splice means
- // that they instructions aren't removed from the symbol table, then
+ // that the instructions aren't removed from the symbol table, then
// reinserted.
Caller->front().getInstList().splice(InsertPoint,
FirstNewBlock->getInstList(),