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: unassignedb...@nondot.org
          Reporter: chandl...@gmail.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to