Hi, On Mon, Oct 16, 2017 at 06:15:06PM +0200, Richard Biener wrote: > I guess that might help. I have the feeling that querying for 'did > pass X run' is wrong conceptually.
The reason why I liked the idea is that I could unify SRA and early-SRA passes and their behavior would only differ according to a "did pass_starg run yet" query. Admittedly, it is not a big deal, I just always dislike typing "-fdump-tree-esra-details -fdump-tree-sra-details" when debugging :-) Martin