Add LoopQueue. This is used by loop pass manager to manage loop nest.
[oota-llvm.git] / include / llvm / Analysis / ScalarEvolutionExpander.h
index 80e0a9d8cf1d9b77629100ccd25611ce9ef9ec8a..fad2da9b9b6ab0f562aefc4e45c1a846218d9d68 100644 (file)
@@ -60,8 +60,7 @@ namespace llvm {
     /// 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);