summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-02-20 20:52:03 +0000
committerDan Gohman <gohman@apple.com>2007-02-20 20:52:03 +0000
commite26bff22dbcfec2074a7502dd56683fc7f55912a (patch)
tree8cef65b392c83f5f76a1c3e97df67569d1141176
parent61eb180a53320c113fee615bb9d459624e2817f7 (diff)
downloadllvm-e26bff22dbcfec2074a7502dd56683fc7f55912a.tar.gz
llvm-e26bff22dbcfec2074a7502dd56683fc7f55912a.tar.bz2
llvm-e26bff22dbcfec2074a7502dd56683fc7f55912a.tar.xz
Fix typos in comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34456 91177308-0d34-0410-b5e6-96231b3b80d8
-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(),