projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5057f38
)
Fix typo pointed out by Frits van Bommel and Marius Wachtler.
author
Duncan Sands
<baldrick@free.fr>
Tue, 23 Nov 2010 15:25:34 +0000
(15:25 +0000)
committer
Duncan Sands
<baldrick@free.fr>
Tue, 23 Nov 2010 15:25:34 +0000
(15:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120025
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/InstCombine/InstructionCombining.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/InstCombine/InstructionCombining.cpp
b/lib/Transforms/InstCombine/InstructionCombining.cpp
index ef7430cd72e08da6fdeffca466fd06480aefcbf0..9a203f8512e4f51d82337cf8ae5edeffa8197b87 100644
(file)
--- a/
lib/Transforms/InstCombine/InstructionCombining.cpp
+++ b/
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) {