[llvm-commits] [llvm] r48623 - in /llvm/trunk/lib: Analysis/IntervalPartition.cpp Analysis/LoopInfo.cpp Analysis/PostDominators.cpp VMCore/Dominators.cpp
Devang Patel
dpatel at apple.com
Thu Mar 20 16:27:18 PDT 2008
Author: dpatel
Date: Thu Mar 20 18:27:18 2008
New Revision: 48623
URL: http://llvm.org/viewvc/llvm-project?rev=48623&view=rev
Log:
These passes preserve CFG.
This patch fixes Benchmarks/Trimaran/enc-pc1/enc-pc1 failure reported by Grawp-PIC i386 nightly tester
Modified:
llvm/trunk/lib/Analysis/IntervalPartition.cpp
llvm/trunk/lib/Analysis/LoopInfo.cpp
llvm/trunk/lib/Analysis/PostDominators.cpp
llvm/trunk/lib/VMCore/Dominators.cpp
Modified: llvm/trunk/lib/Analysis/IntervalPartition.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/IntervalPartition.cpp?rev=48623&r1=48622&r2=48623&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/IntervalPartition.cpp (original)
+++ llvm/trunk/lib/Analysis/IntervalPartition.cpp Thu Mar 20 18:27:18 2008
@@ -17,7 +17,7 @@
char IntervalPartition::ID = 0;
static RegisterPass<IntervalPartition>
-X("intervals", "Interval Partition Construction", false, true);
+X("intervals", "Interval Partition Construction", true, true);
//===----------------------------------------------------------------------===//
// IntervalPartition Implementation
Modified: llvm/trunk/lib/Analysis/LoopInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/LoopInfo.cpp?rev=48623&r1=48622&r2=48623&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/LoopInfo.cpp (original)
+++ llvm/trunk/lib/Analysis/LoopInfo.cpp Thu Mar 20 18:27:18 2008
@@ -29,7 +29,7 @@
char LoopInfo::ID = 0;
static RegisterPass<LoopInfo>
-X("loops", "Natural Loop Construction", false, true);
+X("loops", "Natural Loop Construction", true, true);
//===----------------------------------------------------------------------===//
// Loop implementation
Modified: llvm/trunk/lib/Analysis/PostDominators.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/PostDominators.cpp?rev=48623&r1=48622&r2=48623&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/PostDominators.cpp (original)
+++ llvm/trunk/lib/Analysis/PostDominators.cpp Thu Mar 20 18:27:18 2008
@@ -26,7 +26,7 @@
char PostDominatorTree::ID = 0;
char PostDominanceFrontier::ID = 0;
static RegisterPass<PostDominatorTree>
-F("postdomtree", "Post-Dominator Tree Construction", false, true);
+F("postdomtree", "Post-Dominator Tree Construction", true, true);
bool PostDominatorTree::runOnFunction(Function &F) {
DT->recalculate(F);
@@ -38,7 +38,7 @@
//===----------------------------------------------------------------------===//
static RegisterPass<PostDominanceFrontier>
-H("postdomfrontier", "Post-Dominance Frontier Construction", false, true);
+H("postdomfrontier", "Post-Dominance Frontier Construction", true, true);
const DominanceFrontier::DomSetType &
PostDominanceFrontier::calculate(const PostDominatorTree &DT,
Modified: llvm/trunk/lib/VMCore/Dominators.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/Dominators.cpp?rev=48623&r1=48622&r2=48623&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/Dominators.cpp (original)
+++ llvm/trunk/lib/VMCore/Dominators.cpp Thu Mar 20 18:27:18 2008
@@ -54,7 +54,7 @@
char DominatorTree::ID = 0;
static RegisterPass<DominatorTree>
-E("domtree", "Dominator Tree Construction", false, true);
+E("domtree", "Dominator Tree Construction", true, true);
bool DominatorTree::runOnFunction(Function &F) {
DT->recalculate(F);
More information about the llvm-commits
mailing list