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
This commit is contained in:
Chris Lattner 2003-10-12 19:33:10 +00:00
parent 5b62cdcf4a
commit bebd86d58e

View File

@ -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...