Hi all,
I want to run a legacy function-level pass on only parts of the functions of a module (for example, only those functions named with “built_in” prefix).
How can i do it?
I don’t want to rewrite the pass itself.
best regards,
Yabin
Hi all,
I want to run a legacy function-level pass on only parts of the functions of a module (for example, only those functions named with “built_in” prefix).
How can i do it?
I don’t want to rewrite the pass itself.
best regards,
Yabin
Nella citazione mercoledì 24 agosto 2011 10:07:48, Yabin Hu ha scritto:
Hi all,
I want to run a legacy function-level pass on only parts of the functions of a module (for example, only those functions named with "_built_in_" prefix).
How can i do it?
I don't want to rewrite the pass itself.
simply check, at the beginning of runOnFunction, that the condition is met: if not, simply return 0