[llvm-commits] CVS: llvm/include/llvm/Transforms/Utils/PromoteMemToReg.h
Devang Patel
dpatel at apple.com
Wed Apr 25 11:41:30 PDT 2007
Changes in directory llvm/include/llvm/Transforms/Utils:
PromoteMemToReg.h updated: 1.11 -> 1.12
---
Log message:
Mem2Reg does not need TargetData.
---
Diffs of the changes: (+1 -2)
PromoteMemToReg.h | 3 +--
1 files changed, 1 insertion(+), 2 deletions(-)
Index: llvm/include/llvm/Transforms/Utils/PromoteMemToReg.h
diff -u llvm/include/llvm/Transforms/Utils/PromoteMemToReg.h:1.11 llvm/include/llvm/Transforms/Utils/PromoteMemToReg.h:1.12
--- llvm/include/llvm/Transforms/Utils/PromoteMemToReg.h:1.11 Wed Apr 25 12:15:20 2007
+++ llvm/include/llvm/Transforms/Utils/PromoteMemToReg.h Wed Apr 25 13:41:11 2007
@@ -22,7 +22,6 @@
class AllocaInst;
class ETForest;
class DominanceFrontier;
-class TargetData;
class AliasSetTracker;
/// isAllocaPromotable - Return true if this alloca is legal for promotion.
@@ -40,7 +39,7 @@
///
void PromoteMemToReg(const std::vector<AllocaInst*> &Allocas,
ETForest &ET, DominanceFrontier &DF,
- const TargetData &TD, AliasSetTracker *AST = 0);
+ AliasSetTracker *AST = 0);
} // End llvm namespace
More information about the llvm-commits
mailing list