So there's no parameter which affects exit from pass, is there?
Sometimes some pass becomes ineffective and preliminary break could be helpful,

It would be easy to add detection of passes that aren't making progress.

I haven't done this yet because it seems like a heuristics nightmare, very hard to know when to quit. But if this helps with your large test cases, I'm happy to add it.

I'm writing new pass substitute-class-template-param, which will substitute
template parameter to some type or value, if it is the same in all 
instantiations,

Great!

If possible please coordinate with Yang who I think has done something with templates already?

John

Reply via email to