From 7d26bd8e9777a37ccf5845f8365c3ccd6c498802 Mon Sep 17 00:00:00 2001 From: Nick Lewycky Date: Fri, 23 May 2008 04:39:38 +0000 Subject: [PATCH] Typo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51475 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Scalar/InstructionCombining.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp index 655ca4b0a66..ce5f2397d22 100644 --- a/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/lib/Transforms/Scalar/InstructionCombining.cpp @@ -2627,7 +2627,7 @@ Instruction *InstCombiner::visitAdd(BinaryOperator &I) { } } - // X + X --> X + // X + X --> X << 1 if (I.getType()->isInteger() && I.getType() != Type::Int1Ty) { if (Instruction *Result = AssociativeOpt(I, AddRHS(RHS))) return Result;