[llvm] r262270 - [LLE] Fix a comment

Adam Nemet via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 29 15:21:12 PST 2016


Author: anemet
Date: Mon Feb 29 17:21:12 2016
New Revision: 262270

URL: http://llvm.org/viewvc/llvm-project?rev=262270&view=rev
Log:
[LLE] Fix a comment

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

Modified: llvm/trunk/lib/Transforms/Scalar/LoopLoadElimination.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/LoopLoadElimination.cpp?rev=262270&r1=262269&r2=262270&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/LoopLoadElimination.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/LoopLoadElimination.cpp Mon Feb 29 17:21:12 2016
@@ -219,9 +219,9 @@ public:
         if (OtherCand == nullptr)
           continue;
 
-        // Handle the very basic of case when the two stores are in the same
-        // block so deciding which one forwards is easy.  The later one forwards
-        // as long as they both have a dependence distance of one to the load.
+        // Handle the very basic case when the two stores are in the same block
+        // so deciding which one forwards is easy.  The later one forwards as
+        // long as they both have a dependence distance of one to the load.
         if (Cand.Store->getParent() == OtherCand->Store->getParent() &&
             Cand.isDependenceDistanceOfOne(PSE) &&
             OtherCand->isDependenceDistanceOfOne(PSE)) {




More information about the llvm-commits mailing list