<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Apr 18, 2016 at 2:15 PM, Craig, Ben <span dir="ltr"><<a href="mailto:ben.craig@codeaurora.org">ben.craig@codeaurora.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">Some other things that might be useful to look for (unrelated to the
Working set measurement tool):<br>
* Missed restrict opportunities<br>
With shadow memory, you should be able to track whether there is
aliasing in practice for a given execution, and whether annotating
with restrict would reduce the number of loads and stores.<br>
<br>
* Missed vectorization opportunities<br>
I'm not exactly sure how you could annotate on this front, but this
blog post (
<a href="http://blog.llvm.org/2014/11/loop-vectorization-diagnostics-and.html">http://blog.llvm.org/2014/11/loop-vectorization-diagnostics-and.html</a>
) describes where some diagnostics are already present. If you can
also determine whether those optimizations would be valuable through
instrumentation, then it could be valuable to report it.</div></blockquote><div><br></div><div>Thank you for the ideas. I've added them to <a href="https://llvm.org/bugs/show_bug.cgi?id=27438">https://llvm.org/bugs/show_bug.cgi?id=27438</a><br></div><div><br></div></div></div></div>