Fix typo pointed out by Frits van Bommel and Marius Wachtler.
llvm-svn: 120025
diff --git a/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp b/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
index ef7430c..9a203f8 100644
--- a/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
+++ b/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
@@ -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) {