[llvm-commits] [SignlessTypes] CVS: llvm/include/llvm/Analysis/ScalarEvolutionExpander.h ScalarEvolutionExpressions.h
Reid Spencer
reid at x10sys.com
Thu Oct 19 21:27:45 PDT 2006
Changes in directory llvm/include/llvm/Analysis:
ScalarEvolutionExpander.h updated: 1.5 -> 1.5.6.1
ScalarEvolutionExpressions.h updated: 1.7 -> 1.7.6.1
---
Log message:
Initial patch for DIV -> SDIV/UDIV
---
Diffs of the changes: (+2 -2)
ScalarEvolutionExpander.h | 2 +-
ScalarEvolutionExpressions.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/include/llvm/Analysis/ScalarEvolutionExpander.h
diff -u llvm/include/llvm/Analysis/ScalarEvolutionExpander.h:1.5 llvm/include/llvm/Analysis/ScalarEvolutionExpander.h:1.5.6.1
--- llvm/include/llvm/Analysis/ScalarEvolutionExpander.h:1.5 Fri Mar 31 22:48:52 2006
+++ llvm/include/llvm/Analysis/ScalarEvolutionExpander.h Thu Oct 19 23:27:17 2006
@@ -140,7 +140,7 @@
const Type *Ty = S->getType();
Value *LHS = expandInTy(S->getLHS(), Ty);
Value *RHS = expandInTy(S->getRHS(), Ty);
- return BinaryOperator::createDiv(LHS, RHS, "tmp.", InsertPt);
+ return BinaryOperator::createSDiv(LHS, RHS, "tmp.", InsertPt);
}
Value *visitAddRecExpr(SCEVAddRecExpr *S);
Index: llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h
diff -u llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h:1.7 llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h:1.7.6.1
--- llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h:1.7 Fri Mar 31 22:48:52 2006
+++ llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h Thu Oct 19 23:27:17 2006
@@ -293,7 +293,7 @@
//===--------------------------------------------------------------------===//
- /// SCEVSDivExpr - This class represents a binary unsigned division operation.
+ /// SCEVSDivExpr - This class represents a binary signed division operation.
///
class SCEVSDivExpr : public SCEV {
SCEVHandle LHS, RHS;
More information about the llvm-commits
mailing list