[llvm-bugs] [Bug 46455] New: SLP vectorizer miscompiles reduction
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Jun 25 08:04:22 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=46455
Bug ID: 46455
Summary: SLP vectorizer miscompiles reduction
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Loop Optimizer
Assignee: unassignedbugs at nondot.org
Reporter: benny.kra at gmail.com
CC: llvm-bugs at lists.llvm.org
Created attachment 23650
--> https://bugs.llvm.org/attachment.cgi?id=23650&action=edit
Unreduced test case
Test case is a bit large and will probably only work on Skylake + Linux.
$ clang++ -O3 module_0000.ir-no-opt.ll driver.cc -march=skx && ./a.out
buffer-assignment.txt
Output:
(
2, 4
,
1, 2, 2, 2
)
$ clang++ -O3 module_0000.ir-no-opt.ll driver.cc -march=skx -mllvm
-vectorize-slp=false && ./a.out buffer-assignment.txt
Output:
(
3, 4
,
1, 2, 2, 2
)
--
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/20200625/ce6e7a2d/attachment.html>
More information about the llvm-bugs
mailing list