[llvm-commits] CVS: llvm/include/llvm/Transforms/Utils/PromoteMemToReg.h
Devang Patel
dpatel at apple.com
Thu Jun 7 14:57:25 PDT 2007
Changes in directory llvm/include/llvm/Transforms/Utils:
PromoteMemToReg.h updated: 1.12 -> 1.13
---
Log message:
Use DominatorTree instead of ETForest.
This allows faster immediate domiantor walk.
---
Diffs of the changes: (+2 -2)
PromoteMemToReg.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/include/llvm/Transforms/Utils/PromoteMemToReg.h
diff -u llvm/include/llvm/Transforms/Utils/PromoteMemToReg.h:1.12 llvm/include/llvm/Transforms/Utils/PromoteMemToReg.h:1.13
--- llvm/include/llvm/Transforms/Utils/PromoteMemToReg.h:1.12 Wed Apr 25 13:41:11 2007
+++ llvm/include/llvm/Transforms/Utils/PromoteMemToReg.h Thu Jun 7 16:57:03 2007
@@ -20,7 +20,7 @@
namespace llvm {
class AllocaInst;
-class ETForest;
+class DominatorTree;
class DominanceFrontier;
class AliasSetTracker;
@@ -38,7 +38,7 @@
/// made to the IR.
///
void PromoteMemToReg(const std::vector<AllocaInst*> &Allocas,
- ETForest &ET, DominanceFrontier &DF,
+ DominatorTree &DT, DominanceFrontier &DF,
AliasSetTracker *AST = 0);
} // End llvm namespace
More information about the llvm-commits
mailing list