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

Reply via email to