projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge isObjectPointerWithTrustworthySize with getPointerSize. Use it when
[oota-llvm.git]
/
lib
/
Transforms
/
Utils
/
SimplifyIndVar.cpp
diff --git
a/lib/Transforms/Utils/SimplifyIndVar.cpp
b/lib/Transforms/Utils/SimplifyIndVar.cpp
index 5ee1eb189799faefc37e15146d51576392d4936c..76289c055b904317ae04bcd763fcb3623a058a96 100644
(file)
--- a/
lib/Transforms/Utils/SimplifyIndVar.cpp
+++ b/
lib/Transforms/Utils/SimplifyIndVar.cpp
@@
-221,8
+221,7
@@
void SimplifyIndvar::eliminateIVRemainder(BinaryOperator *Rem,
return;
ICmpInst *ICmp = new ICmpInst(Rem, ICmpInst::ICMP_EQ,
- Rem->getOperand(0), Rem->getOperand(1),
- "tmp");
+ Rem->getOperand(0), Rem->getOperand(1));
SelectInst *Sel =
SelectInst::Create(ICmp,
ConstantInt::get(Rem->getType(), 0),