[llvm-bugs] [Bug 34635] New: r312791 causes SLP vectorizer to miscompile signed int min reductions

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Sep 15 14:58:17 PDT 2017


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

            Bug ID: 34635
           Summary: r312791 causes SLP vectorizer to miscompile signed int
                    min reductions
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: chandlerc at gmail.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 19165
  --> https://bugs.llvm.org/attachment.cgi?id=19165&action=edit
test case

Test case attached. To reproduce:

% llc < slp_test.ll | clang -x assembler - -o slp_test.good && ./slp_test.good
minidx = 5

% opt < slp_test.ll -passes=slp-vectorizer | llc | clang -x assembler - -o
slp_test.bad && ./slp_test.bad
minidx = 6
<Abort>

I'm going to revert for now.

-- 
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/20170915/314e9e9c/attachment.html>


More information about the llvm-bugs mailing list