Mem2Reg does not need TargetData.

llvm-svn: 36446
This commit is contained in:
Devang Patel 2007-04-25 18:41:11 +00:00
parent 15f269afa3
commit 7f7b8985f8
1 changed files with 1 additions and 2 deletions

View File

@ -22,7 +22,6 @@ namespace llvm {
class AllocaInst;
class ETForest;
class DominanceFrontier;
class TargetData;
class AliasSetTracker;
/// isAllocaPromotable - Return true if this alloca is legal for promotion.
@ -40,7 +39,7 @@ bool isAllocaPromotable(const AllocaInst *AI);
///
void PromoteMemToReg(const std::vector<AllocaInst*> &Allocas,
ETForest &ET, DominanceFrontier &DF,
const TargetData &TD, AliasSetTracker *AST = 0);
AliasSetTracker *AST = 0);
} // End llvm namespace