mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-15 22:25:31 +00:00
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:
@@ -56,7 +56,8 @@ namespace {
|
|||||||
void InsertPreheaderForLoop(Loop *L);
|
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...
|
// Publically exposed interface to pass...
|
||||||
|
Reference in New Issue
Block a user