summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit2af7e3dceb1cd591a28fce147deaef8e7a03c439 (patch)
treee442b49ec3fce693f6e450c614b5811e7dc2bc78 /llvm/lib/Transforms
parentc577b816fc47aa488ebe9467a4f7006cbc4b6922 (diff)
downloadbcm5719-llvm-2af7e3dceb1cd591a28fce147deaef8e7a03c439.tar.gz
bcm5719-llvm-2af7e3dceb1cd591a28fce147deaef8e7a03c439.zip
fix grammaro's pointed out by daniel
llvm-svn: 97313
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Scalar/SCCP.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/SCCP.cpp b/llvm/lib/Transforms/Scalar/SCCP.cpp
index 5a0f62083ef..7e37938868d 100644
--- a/llvm/lib/Transforms/Scalar/SCCP.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud