mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
The PreVerifier pass preserves everything. In practice, this
prevents the passmgr from adding yet-another domtree invocation for Verifier if there is already one live. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60326 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
38b3dcc465
commit
11240d0fdd
@ -72,6 +72,10 @@ namespace { // Anonymous namespace for class
|
|||||||
|
|
||||||
PreVerifier() : FunctionPass(&ID) { }
|
PreVerifier() : FunctionPass(&ID) { }
|
||||||
|
|
||||||
|
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
|
||||||
|
AU.setPreservesAll();
|
||||||
|
}
|
||||||
|
|
||||||
// Check that the prerequisites for successful DominatorTree construction
|
// Check that the prerequisites for successful DominatorTree construction
|
||||||
// are satisfied.
|
// are satisfied.
|
||||||
bool runOnFunction(Function &F) {
|
bool runOnFunction(Function &F) {
|
||||||
|
Loading…
Reference in New Issue
Block a user