aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2007-04-25 18:41:11 +0000
committerDevang Patel <dpatel@apple.com>2007-04-25 18:41:11 +0000
commitc20a64d2bb8c60599f8f4fce755323273f0c84cc (patch)
treee8002667f7576646b598ba7f322fb9e376682aab /include
parentc1a3520580c11f5d3430d5dab1e8006f8a0c7dc2 (diff)
Mem2Reg does not need TargetData.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36446 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Transforms/Utils/PromoteMemToReg.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Transforms/Utils/PromoteMemToReg.h b/include/llvm/Transforms/Utils/PromoteMemToReg.h
index e2ad4cd847..376ea156b9 100644
--- a/include/llvm/Transforms/Utils/PromoteMemToReg.h
+++ b/include/llvm/Transforms/Utils/PromoteMemToReg.h
@@ -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