[llvm-commits] [llvm] r97313 - /llvm/trunk/lib/Transforms/Scalar/SCCP.cpp

Chris Lattner sabre at nondot.org
Fri Feb 26 23:50:40 PST 2010


Author: lattner
Date: Sat Feb 27 01:50:40 2010
New Revision: 97313

URL: http://llvm.org/viewvc/llvm-project?rev=97313&view=rev
Log:
fix grammaro's pointed out by daniel

Modified:
    llvm/trunk/lib/Transforms/Scalar/SCCP.cpp

Modified: llvm/trunk/lib/Transforms/Scalar/SCCP.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/SCCP.cpp?rev=97313&r1=97312&r2=97313&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/SCCP.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/SCCP.cpp Sat Feb 27 01:50:40 2010
@@ -1921,9 +1921,9 @@
   //
   // 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.





More information about the llvm-commits mailing list