commit | 4d474cd5f18c35ac4882b48790b385397909792e | [log] [tgz] |
---|---|---|
author | Nick Lewycky <nicholas@mxc.ca> | Fri May 23 04:39:38 2008 +0000 |
committer | Nick Lewycky <nicholas@mxc.ca> | Fri May 23 04:39:38 2008 +0000 |
tree | 29b9af1ad93800c19a4f06d320c2ceadb0d6c1e4 | |
parent | 27f6c138f7f1b67f3c6d7d3f9a1d105541cca481 [diff] [blame] |
Typo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51475 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp index 655ca4b..ce5f239 100644 --- a/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/lib/Transforms/Scalar/InstructionCombining.cpp
@@ -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;