aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2008-08-01 12:23:49 +0000
committerDuncan Sands <baldrick@free.fr>2008-08-01 12:23:49 +0000
commit64fae2cbf63186028d9c9f1ce027b93c361bb0e2 (patch)
tree8cf510db0e583cc3c17fcabc81a3e1e4a3817025 /lib
parent26ad12e0f1f8f9714ef3f50157aa0d636fa054d0 (diff)
downloadexternal_llvm-64fae2cbf63186028d9c9f1ce027b93c361bb0e2.tar.gz
external_llvm-64fae2cbf63186028d9c9f1ce027b93c361bb0e2.tar.bz2
external_llvm-64fae2cbf63186028d9c9f1ce027b93c361bb0e2.zip
Fix comment typos.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54266 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Transforms/Scalar/ConstantProp.cpp2
-rw-r--r--lib/VMCore/ConstantFold.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/Transforms/Scalar/ConstantProp.cpp b/lib/Transforms/Scalar/ConstantProp.cpp
index dbbc86142c..05bb4f0c7b 100644
--- a/lib/Transforms/Scalar/ConstantProp.cpp
+++ b/lib/Transforms/Scalar/ConstantProp.cpp
@@ -14,7 +14,7 @@
//
// Notice that:
// * This pass has a habit of making definitions be dead. It is a good idea
-// to to run a DIE pass sometime after running this pass.
+// to run a DIE pass sometime after running this pass.
//
//===----------------------------------------------------------------------===//
diff --git a/lib/VMCore/ConstantFold.h b/lib/VMCore/ConstantFold.h
index fddee23765..49aea11870 100644
--- a/lib/VMCore/ConstantFold.h
+++ b/lib/VMCore/ConstantFold.h
@@ -11,8 +11,8 @@
// interfaces are used by the ConstantExpr::get* methods to automatically fold
// constants when possible.
//
-// These operators may return a null object if I don't know how to perform the
-// specified operation on the specified constant types.
+// These operators may return a null object if they don't know how to perform
+// the specified operation on the specified constant types.
//
//===----------------------------------------------------------------------===//