aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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