aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-02-27 07:50:40 +0000
committerChris Lattner <sabre@nondot.org>2010-02-27 07:50:40 +0000
commit9fcd72b71afda971915ff17614431a725811be4b (patch)
tree8c7caaa285fb489de0a5667d5853dbcda12dda52 /lib/Transforms
parent82781b938af4057df90b5fa4035781ddc4aa681a (diff)
fix grammaro's pointed out by daniel
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97313 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r--lib/Transforms/Scalar/SCCP.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/Scalar/SCCP.cpp b/lib/Transforms/Scalar/SCCP.cpp
index 5a0f62083e..7e37938868 100644
--- a/lib/Transforms/Scalar/SCCP.cpp
+++ b/lib/Transforms/Scalar/SCCP.cpp
@@ -1921,9 +1921,9 @@ bool IPSCCP::runOnModule(Module &M) {
//
// Do this in two stages: first identify the functions we should process, then
// actually zap their returns. This is important because we can only do this
- // the address of the function isn't taken. In cases where a return is the
+ // if the address of the function isn't taken. In cases where a return is the
// last use of a function, the order of processing functions would affect
- // whether we other functions are optimizable.
+ // whether other functions are optimizable.
SmallVector<ReturnInst*, 8> ReturnsToZap;
// TODO: Process multiple value ret instructions also.