diff options
author | Chris Lattner <sabre@nondot.org> | 2003-10-12 19:33:10 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-10-12 19:33:10 +0000 |
commit | bebd86d58eea8839691785a08917040751334083 (patch) | |
tree | e3c1c938a7c506d70be78e30efdb1f9b1c9745d3 | |
parent | 5b62cdcf4a4ba4c3c254b5e70174566dd26a8028 (diff) |
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
-rw-r--r-- | lib/Transforms/Utils/LoopSimplify.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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<Preheaders> X("preheaders", "Natural loop pre-header insertion"); + RegisterOpt<Preheaders> X("preheaders", "Natural loop pre-header insertion", + true); } // Publically exposed interface to pass... |