projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02d639f
)
Typo.
author
Nick Lewycky
<nicholas@mxc.ca>
Fri, 23 May 2008 04:39:38 +0000
(
04:39
+0000)
committer
Nick Lewycky
<nicholas@mxc.ca>
Fri, 23 May 2008 04:39:38 +0000
(
04:39
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51475
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/InstructionCombining.cpp
b/lib/Transforms/Scalar/InstructionCombining.cpp
index 655ca4b0a660e287975474c856ae6c03cdfa87e4..ce5f2397d2251bc0d124c5f929ff8e59b68ed1f4 100644
(file)
--- 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;