diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2008-05-23 04:39:38 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2008-05-23 04:39:38 +0000 |
commit | 4d474cd5f18c35ac4882b48790b385397909792e (patch) | |
tree | 29b9af1ad93800c19a4f06d320c2ceadb0d6c1e4 | |
parent | 27f6c138f7f1b67f3c6d7d3f9a1d105541cca481 (diff) | |
download | external_llvm-4d474cd5f18c35ac4882b48790b385397909792e.zip external_llvm-4d474cd5f18c35ac4882b48790b385397909792e.tar.gz external_llvm-4d474cd5f18c35ac4882b48790b385397909792e.tar.bz2 |
Typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51475 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Transforms/Scalar/InstructionCombining.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ 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; |