mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01: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. llvm-svn: 60326
This commit is contained in:
parent
13942f82c4
commit
ceeb559995
@ -72,6 +72,10 @@ namespace { // Anonymous namespace for class
|
||||
|
||||
PreVerifier() : FunctionPass(&ID) { }
|
||||
|
||||
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
|
||||
AU.setPreservesAll();
|
||||
}
|
||||
|
||||
// Check that the prerequisites for successful DominatorTree construction
|
||||
// are satisfied.
|
||||
bool runOnFunction(Function &F) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user