Currently treehydra only hooks into the GIMPLE lowering passes. IPA ones are interesting because they allow one to see functions in their inlined form. Using IPA is also a performance advantage because there is only a single entry point into js, so there is no need to reset the lazy node cache on every function. This adds a process_cgraph function as it doesn't make sense to reuse process_tree. In order for this to work one needs to apply an updated gcc plugin patch.
Created attachment 324309 [details] [diff] [review] impl + testcase silly bugzilla wouldn't let me do this in one shot
Attachment #324309 - Flags: review?(dmandelin)
Comment on attachment 324309 [details] [diff] [review] impl + testcase I don't understand much of this, but at least it looks like process_tree with CFGs still works.
Attachment #324309 - Flags: review?(dmandelin) → review+
pushed a while ago
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.