On 2/17/21 5:21 AM, Shuai Wang via Gcc wrote:
Could anyone shed some light on this? Thank you very much!
Hello. I would recommend looking at any of the existing passes: $ git grep SIMPLE_IPA_PASS ... One reasonable example can be gcc/tree-profile.c. Cheers, Martin