commit | c2b1c0b85d09aa69a625c1baacab0a310b4be552 | [log] [tgz] |
---|---|---|
author | Duncan Sands <baldrick@free.fr> | Tue Nov 23 15:25:34 2010 +0000 |
committer | Duncan Sands <baldrick@free.fr> | Tue Nov 23 15:25:34 2010 +0000 |
tree | 586d6cd63ebc9e5b0cdef95a156d34e9ac96789d | |
parent | 5057f381418ddc8c96699c40479ead993cd62e7b [diff] [blame] |
Fix typo pointed out by Frits van Bommel and Marius Wachtler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120025 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/InstCombine/InstructionCombining.cpp b/lib/Transforms/InstCombine/InstructionCombining.cpp index ef7430c..9a203f8 100644 --- a/lib/Transforms/InstCombine/InstructionCombining.cpp +++ b/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) {