From 22df741687da8f826612167ef08deac32627bb04 Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Tue, 23 Nov 2010 15:25:34 +0000 Subject: Fix typo pointed out by Frits van Bommel and Marius Wachtler. llvm-svn: 120025 --- llvm/lib/Transforms/InstCombine/InstructionCombining.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Transforms') diff --git a/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp b/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp index ef7430cd72e..9a203f8512e 100644 --- a/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp +++ b/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp @@ -238,7 +238,7 @@ bool InstCombiner::SimplifyAssociativeOrCommutative(BinaryOperator &I) { } /// 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) { -- cgit v1.2.3