summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/lib/Transforms/Scalar/ConstantProp.cpp2
-rw-r--r--llvm/lib/VMCore/ConstantFold.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Scalar/ConstantProp.cpp b/llvm/lib/Transforms/Scalar/ConstantProp.cpp
index dbbc86142cf..05bb4f0c7be 100644
--- a/llvm/lib/Transforms/Scalar/ConstantProp.cpp
+++ b/llvm/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/llvm/lib/VMCore/ConstantFold.h b/llvm/lib/VMCore/ConstantFold.h
index fddee237654..49aea11870a 100644
--- a/llvm/lib/VMCore/ConstantFold.h
+++ b/llvm/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.
//
//===----------------------------------------------------------------------===//
OpenPOWER on IntegriCloud