summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-10-12 21:52:28 +0000
committerChris Lattner <sabre@nondot.org>2003-10-12 21:52:28 +0000
commit72272a70b816ad39a965f64092b3b4923c333737 (patch)
treea82536d2ecc9d0e222f7687f3b6d07abec23271e /llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp
parentefc15169f0c13d47388c68fa2b08bb3a16cd2555 (diff)
downloadbcm5719-llvm-72272a70b816ad39a965f64092b3b4923c333737.tar.gz
bcm5719-llvm-72272a70b816ad39a965f64092b3b4923c333737.zip
Rename loop preheaders pass to loop simplify
llvm-svn: 9061
Diffstat (limited to 'llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp b/llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp
index e37b307de8b..99b1b2dfd0a 100644
--- a/llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp
+++ b/llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp
@@ -27,7 +27,9 @@ namespace {
AU.addPreserved<ImmediateDominators>();
AU.addPreserved<DominatorTree>();
AU.addPreserved<DominanceFrontier>();
- AU.addPreservedID(LoopPreheadersID); // No preheaders deleted.
+
+ // No loop canonicalization guarantees are broken by this pass.
+ AU.addPreservedID(LoopSimplifyID);
}
};
OpenPOWER on IntegriCloud