Mem2Reg does not need TargetData.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36446 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel 2007-04-25 18:41:11 +00:00
parent c1a3520580
commit c20a64d2bb

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