[llvm-commits] CVS: llvm/include/llvm/Analysis/ScalarEvolutionExpander.h
Reid Spencer
reid at x10sys.com
Sat Jan 20 16:30:04 PST 2007
Changes in directory llvm/include/llvm/Analysis:
ScalarEvolutionExpander.h updated: 1.12 -> 1.13
---
Log message:
For PR970: http://llvm.org/PR970 :
Clean up handling of isFloatingPoint() and dealing with PackedType.
Patch by Gordon Henriksen!
---
Diffs of the changes: (+1 -2)
ScalarEvolutionExpander.h | 3 +--
1 files changed, 1 insertion(+), 2 deletions(-)
Index: llvm/include/llvm/Analysis/ScalarEvolutionExpander.h
diff -u llvm/include/llvm/Analysis/ScalarEvolutionExpander.h:1.12 llvm/include/llvm/Analysis/ScalarEvolutionExpander.h:1.13
--- llvm/include/llvm/Analysis/ScalarEvolutionExpander.h:1.12 Sun Jan 14 20:27:26 2007
+++ llvm/include/llvm/Analysis/ScalarEvolutionExpander.h Sat Jan 20 18:29:25 2007
@@ -60,8 +60,7 @@
/// loop (inserting one if there is none). A canonical induction variable
/// starts at zero and steps by one on each iteration.
Value *getOrInsertCanonicalInductionVariable(const Loop *L, const Type *Ty){
- assert((Ty->isInteger() || Ty->isFloatingPoint()) &&
- "Can only insert integer or floating point induction variables!");
+ assert(Ty->isInteger() && "Can only insert integer induction variables!");
SCEVHandle H = SCEVAddRecExpr::get(SCEVUnknown::getIntegerSCEV(0, Ty),
SCEVUnknown::getIntegerSCEV(1, Ty), L);
return expand(H);
More information about the llvm-commits
mailing list