[llvm-commits] CVS: llvm/lib/Analysis/ScalarEvolution.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon Apr 3 23:11:55 PDT 2006
Changes in directory llvm/lib/Analysis:
ScalarEvolution.cpp updated: 1.46 -> 1.47
---
Log message:
Signed shr by a constant is not the same as sdiv by 2^k
---
Diffs of the changes: (+0 -9)
ScalarEvolution.cpp | 9 ---------
1 files changed, 9 deletions(-)
Index: llvm/lib/Analysis/ScalarEvolution.cpp
diff -u llvm/lib/Analysis/ScalarEvolution.cpp:1.46 llvm/lib/Analysis/ScalarEvolution.cpp:1.47
--- llvm/lib/Analysis/ScalarEvolution.cpp:1.46 Fri Mar 31 22:48:52 2006
+++ llvm/lib/Analysis/ScalarEvolution.cpp Tue Apr 4 01:11:42 2006
@@ -1374,15 +1374,6 @@
}
break;
- case Instruction::Shr:
- if (ConstantUInt *SA = dyn_cast<ConstantUInt>(I->getOperand(1)))
- if (V->getType()->isSigned()) {
- Constant *X = ConstantInt::get(V->getType(), 1);
- X = ConstantExpr::getShl(X, SA);
- return SCEVSDivExpr::get(getSCEV(I->getOperand(0)), getSCEV(X));
- }
- break;
-
case Instruction::Cast:
return createNodeForCast(cast<CastInst>(I));
More information about the llvm-commits
mailing list