For a particular target I would like to replace some of the "standard" passes with customized versions. What would be the cleanest way to do this? At the moment I cannot see a good way of removing an existing pass from within the target library.
On Thu, Aug 4, 2011 at 2:29 AM, Michael Chapman <michael.chapman at neuf.fr> wrote:> For a particular target I would like to replace some of the "standard" > passes with customized versions. > > What would be the cleanest way to do this? > > At the moment I cannot see a good way of removing an existing pass from > within the target library.If you need a massively customized pipeline, you can create one from scratch. The C backend does this, for example; take a look at CTargetMachine::addPassesToEmitFile. -Eli
Apparently Analagous Threads
- [LLVMdev] How to emit a simple stream of machine code.
- [LLVMdev] Adding an object to llc
- [LLVMdev] Why some registered passes are not available through opt?
- customizing global request handler
- [LLVMdev] Why some registered passes are not available through opt?