[llvm-commits] [llvm] r51475 - /llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp
Nick Lewycky
nicholas at mxc.ca
Thu May 22 21:39:38 PDT 2008
Author: nicholas
Date: Thu May 22 23:39:38 2008
New Revision: 51475
URL: http://llvm.org/viewvc/llvm-project?rev=51475&view=rev
Log:
Typo.
Modified:
llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp?rev=51475&r1=51474&r2=51475&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp Thu May 22 23:39:38 2008
@@ -2627,7 +2627,7 @@
}
}
- // X + X --> X
+ // X + X --> X << 1
if (I.getType()->isInteger() && I.getType() != Type::Int1Ty) {
if (Instruction *Result = AssociativeOpt(I, AddRHS(RHS))) return Result;
More information about the llvm-commits
mailing list