From bebd86d58eea8839691785a08917040751334083 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 12 Oct 2003 19:33:10 +0000 Subject: The preheader insertion pass only depends on the CFG. Mark it as such, which allows GCCAS to only run it once. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9056 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Utils/LoopSimplify.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/Transforms/Utils/LoopSimplify.cpp') diff --git a/lib/Transforms/Utils/LoopSimplify.cpp b/lib/Transforms/Utils/LoopSimplify.cpp index 3c77b01a86..fb57a2318a 100644 --- a/lib/Transforms/Utils/LoopSimplify.cpp +++ b/lib/Transforms/Utils/LoopSimplify.cpp @@ -56,7 +56,8 @@ namespace { void InsertPreheaderForLoop(Loop *L); }; - RegisterOpt X("preheaders", "Natural loop pre-header insertion"); + RegisterOpt X("preheaders", "Natural loop pre-header insertion", + true); } // Publically exposed interface to pass... -- cgit v1.2.3-18-g5258