<div dir="ltr"><div><div><div><div><div>Hi Diego, I really like your suggestion and agree that this could be really useful to end users looking to understand why the compiler was unable to apply certain optimisations to the code.<br>
<br></div>Often, understanding why the compiler failed to auto-vectorise is incredibly useful information allowing the end user to write the code in a more amenable form, to allow the compiler to do a better job.<br><br></div>
We often use the -ftree-vectorizer-verbose=<n> options in gcc to understand both which loops were vectorized and which weren't for what reason, it is much more convenient than reading the generated assembly file :)<br>
<br></div>I'd like to reiterate Gerolf's comment that different levels of verbosity would be really useful, personally I'd like to see all the way down to very detailed analysis of the decisions the compiler is taking if you set the verbosity level high enough, like -vec-report an -ftree-vectorizer-verbose in other compilers.<br>
<br></div>This is something we'd be really interested in seeing added and we had already started working on something similar ourselves, though it obviously makes more sense for us to contribute to this effort.<br><br>
</div><div>What is the current status of the implementation?<br></div><div><br></div>Neil<br><div><div><div><div><div><div><div class="gmail_extra"><br></div></div></div></div></div></div></div></div>