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

Duncan Sands baldrick at free.fr
Tue Nov 23 07:25:34 PST 2010


Author: baldrick
Date: Tue Nov 23 09:25:34 2010
New Revision: 120025

URL: http://llvm.org/viewvc/llvm-project?rev=120025&view=rev
Log:
Fix typo pointed out by Frits van Bommel and Marius Wachtler.

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=120025&r1=120024&r2=120025&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/InstCombine/InstructionCombining.cpp (original)
+++ llvm/trunk/lib/Transforms/InstCombine/InstructionCombining.cpp Tue Nov 23 09:25:34 2010
@@ -238,7 +238,7 @@
 }
 
 /// LeftDistributesOverRight - Whether "X LOp (Y ROp Z)" is always equal to
-/// "(X LOp Y) ROp (Z LOp Z)".
+/// "(X LOp Y) ROp (X LOp Z)".
 static bool LeftDistributesOverRight(Instruction::BinaryOps LOp,
                                      Instruction::BinaryOps ROp) {
   switch (LOp) {





More information about the llvm-commits mailing list