This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC] Cleaning up the pass manager
On 15 June 2010 10:40, Richard Guenther <richard.guenther@gmail.com> wrote:
> On Tue, Jun 15, 2010 at 4:03 AM, Diego Novillo <dnovillo@google.com> wrote:
>
>> - Pass scheduling can be done by simply declaring a pass and
>> presenting it to the pass manager. ?The property sets should be enough
>> for the PM to know where to schedule a pass.
>
> Ugh. ?Please no - how should it know? ?Do you want to
> introduce PROP_run_after_ccp or what? ?Or are you refering
> to passes that are just information providers or massage
> the IL, like crited or alias?
It seems someone has done this before, so, in principle, it is possible:
http://llvm.org/docs/WritingAnLLVMPass.html#passmanager
Cheers,
Manuel.