[llvm-bugs] [Bug 26716] New: Rpass-analysis=loop-vectorize warns on source locations that are not in the preprocessed file

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Feb 23 09:46:37 PST 2016


https://llvm.org/bugs/show_bug.cgi?id=26716

            Bug ID: 26716
           Summary: Rpass-analysis=loop-vectorize warns on source
                    locations that are not in the preprocessed file
           Product: clang
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: gonzalobg88 at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

In a nutshell, I have a huge piece of code and was looking at the vectorization
analysis from -Rpass-analysis=loop-vectorize which produces a lot of output.

So I went on an ifdefed some large chunk of code out (my program still compiles
fine).

I get a couple of warnings by Rpass analysis that some loop cannot be
vectorized, but to my surprise it points to a line (and shows the line) within
the ifdefed out code. 

First thought was, generate the preprocessed sources, delta it, and submit a
bug but... since the code is ifdefed out, the error cannot be reproduced from
the preprocessed sources. 

I've been trying to come up with a minimal example that reproduces it for half
an hour without any luck. So this is all I got.

-- 
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/20160223/c7f1a414/attachment.html>


More information about the llvm-bugs mailing list