[llvm-dev] RFC: EfficiencySanitizer

Derek Bruening via llvm-dev llvm-dev at lists.llvm.org
Wed Apr 20 09:14:44 PDT 2016

On Mon, Apr 18, 2016 at 2:15 PM, Craig, Ben <ben.craig at codeaurora.org>

> Some other things that might be useful to look for (unrelated to the
> Working set measurement tool):
> * Missed restrict opportunities
> 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.
> * Missed vectorization opportunities
> I'm not exactly sure how you could annotate on this front, but this blog
> post (
> http://blog.llvm.org/2014/11/loop-vectorization-diagnostics-and.html )
> 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.

Thank you for the ideas.  I've added them to
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160420/f35483fc/attachment.html>

More information about the llvm-dev mailing list