Fix SCEVExpander assert during LSR: "argument of incompatible type".
[oota-llvm.git] / include / llvm / Analysis / ScalarEvolutionExpander.h
index 1080580c960194f981ec5a365853420a6ff8667d..a4ad1451d412e93d88b51a92733ceae315aec861 100644 (file)
@@ -237,8 +237,7 @@ namespace llvm {
 
     bool isNormalAddRecExprPHI(PHINode *PN, Instruction *IncV, const Loop *L);
 
-    bool isExpandedAddRecExprPHI(PHINode *PN, Instruction *IncV, const Loop *L,
-                                 Type *ExpandTy);
+    bool isExpandedAddRecExprPHI(PHINode *PN, Instruction *IncV, const Loop *L);
 
     Value *expandAddRecExprLiterally(const SCEVAddRecExpr *);
     PHINode *getAddRecExprPHILiterally(const SCEVAddRecExpr *Normalized,