summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-04-29 08:41:23 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-04-29 08:41:23 +0000
commitf0e3f044709f87f56a5147ccf091cbdff035c762 (patch)
tree5346c302b881443a8140cde19b64050d13a37d54 /llvm/lib
parent2ac2c725e00e114cc9f3091349a83a791a20cef7 (diff)
downloadbcm5719-llvm-f0e3f044709f87f56a5147ccf091cbdff035c762.tar.gz
bcm5719-llvm-f0e3f044709f87f56a5147ccf091cbdff035c762.zip
Balance parentheses.
llvm-svn: 130489
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp b/llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
index 8143b257b30..811f94976f6 100644
--- a/llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
+++ b/llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
@@ -645,7 +645,7 @@ Instruction *InstCombiner::visitShl(BinaryOperator &I) {
}
}
- // (C1 << A) << C2) -> (C1 << C2) << A)
+ // (C1 << A) << C2 -> (C1 << C2) << A
Constant *C1, *C2;
Value *A;
if (match(I.getOperand(0), m_OneUse(m_Shl(m_Constant(C1), m_Value(A)))) &&
OpenPOWER on IntegriCloud