[llvm-commits] [llvm] r76505 - /llvm/trunk/lib/Analysis/ScalarEvolution.cpp

Dan Gohman gohman at apple.com
Mon Jul 20 16:54:43 PDT 2009


Author: djg
Date: Mon Jul 20 18:54:43 2009
New Revision: 76505

URL: http://llvm.org/viewvc/llvm-project?rev=76505&view=rev
Log:
Add a comment to clarify why there isn't any code in this spot.

Modified:
    llvm/trunk/lib/Analysis/ScalarEvolution.cpp

Modified: llvm/trunk/lib/Analysis/ScalarEvolution.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/ScalarEvolution.cpp?rev=76505&r1=76504&r2=76505&view=diff

==============================================================================
--- llvm/trunk/lib/Analysis/ScalarEvolution.cpp (original)
+++ llvm/trunk/lib/Analysis/ScalarEvolution.cpp Mon Jul 20 18:54:43 2009
@@ -4324,6 +4324,8 @@
     break;
   }
   case ICmpInst::ICMP_EQ:
+    // The check at the top of the function catches the case where
+    // the values are known to be equal.
     break;
   }
   return false;





More information about the llvm-commits mailing list