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 | 8f3127c5b54f84d0185868936c7c681aadb7a63d (patch) | |
| tree | 931cf76770cbfc06cd58669d2613a0341002bb81 /llvm/lib/Transforms | |
| parent | 4f3d878507e3012e6417c7c742f4e22e7ed51fb2 (diff) | |
| download | bcm5719-llvm-8f3127c5b54f84d0185868936c7c681aadb7a63d.tar.gz bcm5719-llvm-8f3127c5b54f84d0185868936c7c681aadb7a63d.zip | |
Typo.
llvm-svn: 51475
Diffstat (limited to 'llvm/lib/Transforms')
| -rw-r--r-- | llvm/lib/Transforms/Scalar/InstructionCombining.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp index 655ca4b0a66..ce5f2397d22 100644 --- a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/llvm/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; |

