[llvm-bugs] [Bug 25085] New: SLPVectorizer misses a vectorization opportunity BBVectorizer doesn't

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Oct 7 01:09:20 PDT 2015


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

            Bug ID: 25085
           Summary: SLPVectorizer misses a vectorization opportunity
                    BBVectorizer doesn't
           Product: new-bugs
           Version: 3.7
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: pekka.jaaskelainen at tut.fi
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 15017
  --> https://llvm.org/bugs/attachment.cgi?id=15017&action=edit
LLVM IR without BBVectorizer

Attached are two .ll files from pocl kernel compiler after parallel region
formation.  I have marked "See here" in parallel-bbvectorize.ll to the first
place where I spotted a vectorized instruction which wasn't in
parallel-no-bbvectorize.ll. 

This is from NBody case from AMD SDK.  It causes a major performance regression
in case BBVectorizer is disabled.

See the pocl bug https://github.com/pocl/pocl/issues/251

Is this helpful in fixing the issue? Let me know if you want me to try and
patches.

-- 
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/20151007/57dc1eb5/attachment-0001.html>


More information about the llvm-bugs mailing list