[LLVMbugs] [Bug 19353] New: Provide easy to inspect vectorization information

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Apr 7 05:14:04 PDT 2014


            Bug ID: 19353
           Summary: Provide easy to inspect vectorization information
           Product: clang
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: gonzalobg88 at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

GCC provides -ftree-vectorizer-verbose=x to inspect what the vectorizer is
doing. This allows you to see e.g. why the vectorizer is not vectorizing a
construct in which you expected vectorization (and to fix it). 

AFAIK there is no easy way to obtain this information easily with clang. This
is thus a feature request.

A problem that AFAIK this option has in GCC is that it spits out _a lot_ of
information if you use it for your whole program. It would therefore make sense
to be able to delimit this information to code snippets using a pragma (e.g.
similar to those for pushing/popping warnings).

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140407/2ffa59bd/attachment.html>

More information about the llvm-bugs mailing list