<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Do you have preliminary numbers on how much faster MSSA- AST is than the regular<br>
AST?  For instance, what's the performance difference between repeatedly<br>
constructing the AST vs. constructing the MSSA-AST over some representative IR?<br>
<br>
In other words, can we get an upper bound on the speedup without doing all the<br>
work needed to teach all the loop passes to preserve MSSA?  If this upper bound<br>
is near-0, then we can cut our losses and avoid doing a bunch of unnecessary<br>
work.</blockquote><div> </div><div>On unit tests / regression tests, the overhead is too small for both, not representative.</div><div>On the pathological case, both need to be capped. I'll get some preliminary numbers on the testcase in PR28670, and the larger version I extracted then, but this will only point at what the cap should be, so again, probably not representative?</div><div><br></div><div>I would hope that the MSSA-ASTs will not be the final solution, since the purpose here is to address PR31883.</div></div>Davide, do you have additional testcases that I can look into? (the ones from the profile in PR31883?)</div><div class="gmail_extra"><br></div></div>