[llvm-commits] [llvm] r123965 - /llvm/trunk/lib/Transforms/InstCombine/InstructionCombining.cpp

Chris Lattner sabre at nondot.org
Thu Jan 20 21:08:27 PST 2011


Author: lattner
Date: Thu Jan 20 23:08:26 2011
New Revision: 123965

URL: http://llvm.org/viewvc/llvm-project?rev=123965&view=rev
Log:
update obsolete comment.

Modified:
    llvm/trunk/lib/Transforms/InstCombine/InstructionCombining.cpp

Modified: llvm/trunk/lib/Transforms/InstCombine/InstructionCombining.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/InstCombine/InstructionCombining.cpp?rev=123965&r1=123964&r2=123965&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/InstCombine/InstructionCombining.cpp (original)
+++ llvm/trunk/lib/Transforms/InstCombine/InstructionCombining.cpp Thu Jan 20 23:08:26 2011
@@ -532,10 +532,9 @@
   if (NumPHIValues == 0)
     return 0;
   
-  // We normally only transform phis with a single use, unless we're trying
-  // hard to make jump threading happen.  However, if a PHI has multiple uses
-  // and they are all the same operation, we can fold *all* of the uses into the
-  // PHI.
+  // We normally only transform phis with a single use.  However, if a PHI has
+  // multiple uses and they are all the same operation, we can fold *all* of the
+  // uses into the PHI.
   if (!PN->hasOneUse()) {
     // Walk the use list for the instruction, comparing them to I.
     for (Value::use_iterator UI = PN->use_begin(), E = PN->use_end();





More information about the llvm-commits mailing list