diff options
author | Duncan Sands <baldrick@free.fr> | 2010-11-23 15:25:34 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2010-11-23 15:25:34 +0000 |
commit | 22df741687da8f826612167ef08deac32627bb04 (patch) | |
tree | 03603a4b0df8f00a0d160ebafc9bf8737ca8262d /llvm/lib/Transforms | |
parent | adc7771f18c09d50742ee0e07584aa92404b2144 (diff) | |
download | bcm5719-llvm-22df741687da8f826612167ef08deac32627bb04.tar.gz bcm5719-llvm-22df741687da8f826612167ef08deac32627bb04.zip |
Fix typo pointed out by Frits van Bommel and Marius Wachtler.
llvm-svn: 120025
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r-- | llvm/lib/Transforms/InstCombine/InstructionCombining.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |