From: Chris Lattner Date: Sun, 12 Oct 2003 19:33:10 +0000 (+0000) Subject: The preheader insertion pass only depends on the CFG. Mark it as such, which X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=bebd86d58eea8839691785a08917040751334083;p=oota-llvm.git 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 --- diff --git a/lib/Transforms/Utils/LoopSimplify.cpp b/lib/Transforms/Utils/LoopSimplify.cpp index 3c77b01a86a..fb57a2318ab 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...