[llvm-bugs] [Bug 34978] New: [InterleavedAccess] Crash with "(castIsValid(op, S, Ty) && "Invalid cast!")" on haswell

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Oct 17 08:18:23 PDT 2017


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

            Bug ID: 34978
           Summary: [InterleavedAccess] Crash with "(castIsValid(op, S,
                    Ty) && "Invalid cast!")" on haswell
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: igor at azulsystems.com
                CC: llvm-bugs at lists.llvm.org

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

llc crashes on haswell processors with following message:

Assertion failed: (castIsValid(op, S, Ty) && "Invalid cast!"), function Create,
file /Users/igor/Projects/llvm/lib/IR/Instructions.cpp, line 2565.

Reverting this change fixes the issue:

commit 563f2fdd9270bb57a619e28caffceb7bda297ad3
Author: Michael Zuckerman <Michael.zuckerman at intel.com>
Date:   Thu Sep 7 14:02:13 2017 +0000

    [X86][LLVM]Expanding Supports lowerInterleavedLoad() in
X86InterleavedAccess (VF{8|16|32} stride 3).

Reduced test case attached. Use "llc -mcpu=haswell test.ll" to get the crash.

-- 
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/20171017/a9318793/attachment.html>


More information about the llvm-bugs mailing list