[llvm-commits] [llvm] r130489 - /llvm/trunk/lib/Transforms/InstCombine/InstCombineShifts.cpp
Benjamin Kramer
benny.kra at googlemail.com
Fri Apr 29 01:41:23 PDT 2011
Author: d0k
Date: Fri Apr 29 03:41:23 2011
New Revision: 130489
URL: http://llvm.org/viewvc/llvm-project?rev=130489&view=rev
Log:
Balance parentheses.
Modified:
llvm/trunk/lib/Transforms/InstCombine/InstCombineShifts.cpp
Modified: llvm/trunk/lib/Transforms/InstCombine/InstCombineShifts.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/InstCombine/InstCombineShifts.cpp?rev=130489&r1=130488&r2=130489&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/InstCombine/InstCombineShifts.cpp (original)
+++ llvm/trunk/lib/Transforms/InstCombine/InstCombineShifts.cpp Fri Apr 29 03:41:23 2011
@@ -645,7 +645,7 @@
}
}
- // (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)))) &&
More information about the llvm-commits
mailing list