<div dir="ltr">Right now when writing code like:<br><br>#pragma clang loop vectorize(enable) interleave(enable)<br>while(...) {<br>  ...<br>}<br><br>one has to:<div><br></div><div>1) pass the compiler the flags "-Rpass-missed=loop-vectorize -Rpass-analysis=loop-vectorize" to get a warning on all loops where vectorization failed. </div><div>2) grep that output (which might be huge in a moderately sized project) for that particular loop. </div><div>3) Check if vectorization worked. </div><div>4) Remove the compiler flags and recompile to keep working on something else. <br><br>This is really bad.</div><div><br></div><div>A user specified that a loop has to be vectorized. When I do this, it is my intent that the loop gets vectorized. However, the current workflow discourages users from actually checking that vectorization worked. Furthermore, if months later something on that loop changes that breaks vectorization, this happens silently. </div><div><br>Why are things this way? Can something be done about this?<br><br>Could we get these warnings on by default for those loops explicitly marked with the vectorize pragma?</div></div>