1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

Balance parentheses.

llvm-svn: 130489
This commit is contained in:
Benjamin Kramer 2011-04-29 08:41:23 +00:00
parent 5beaa1dd92
commit fcc6332e59

View File

@ -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)))) &&