Closed
Description
Bugzilla Link | 794 |
Resolution | FIXED |
Resolved on | Feb 22, 2010 12:44 |
Version | 1.0 |
OS | All |
Reporter | LLVM Bugzilla Contributor |
Extended Description
Not every user of lib/VMCore wants to run the verifier or use Passes. While
these facilities are common, they are not intrinsically part of the LLVM IR. In
particular, nothing in rest of lib/LLVMCore uses the Dominators classes other
than the Verifier using ET-Forest. The Pass.cpp and PassManagerT.h are
standalone and its only users in lib/VMCore are Verifier.cpp and AsmWriter.cpp,
both of which are targeted for factoring out of lib/VMCore.
It is suggested that the following changes be made:
- Move Pass.cpp and PassManagerT.h to a new library, lib/Pass
- Split ET-Forest stuff out of Dominators.h and Dominators.cpp and into its own
module ETForest.h and ETForest.cpp. Not sure where this should live but it is
used by the Verifier pass so could go where Verifier.cpp lives or perhaps
in lib/Analysis. - Move Dominators.cpp to lib/Analysis
- Move Verifier.cpp to lib/Analysis
This is the third in a set of enhancements to reduce the size of lib/VMCore.
Thoughts, ideas?
Reid.