[LLVMdev] How to force a MachineFunctionPass to be the last one ?

sebastien riou matic at nimp.co.uk
Tue Jan 21 14:20:01 PST 2014


Hi,

I would like to execute a MachineFunctionPass after all other passes
which modify the machine code.
In other words, if we call llc to generate assembly file, that pass
should run right before the "Assembly Printer" pass.
Is there any official way to enforce this ?

Best regards,
Sebastien



More information about the llvm-dev mailing list