[llvm-bugs] [Bug 34965] New: After r311849 Loop Vectorizer crashes with "The instruction should be scalarized"

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Oct 16 08:28:23 PDT 2017


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

            Bug ID: 34965
           Summary: After r311849 Loop Vectorizer crashes with "The
                    instruction should be scalarized"
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Loop Optimizer
          Assignee: unassignedbugs at nondot.org
          Reporter: igor at azulsystems.com
                CC: llvm-bugs at lists.llvm.org

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

Loop vectorizer crashes with the assertion failure on debug builds, and
generates incorrect code on product builds.

Assertion failed: ((ConsecutiveStride || CreateGatherScatter) && "The
instruction should be scalarized"), function vectorizeMemoryInstruction, file
/Users/igor/Projects/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp, line
3123.

Reduced test case is attached.

-- 
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/20171016/3cf6c601/attachment.html>


More information about the llvm-bugs mailing list