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

            Bug ID: 33826
           Summary: Assertion `Invalid Inst-size!!!' in
                    X86InterleavedAccess.cpp
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: X86
          Assignee: unassignedb...@nondot.org
          Reporter: paul_robin...@playstation.sony.com
                CC: llvm-bugs@lists.llvm.org

Created attachment 18809
  --> https://bugs.llvm.org/attachment.cgi?id=18809&action=edit
Full crash report

$ cat bz180454.cpp

typedef double __attribute__((ext_vector_type(4))) double4;
double4 a;
double4 test161_funcid33732(double4 b) {
  return __builtin_shufflevector(a.wxxx, b, 0, 4, 0, 0);
}

$ clang -c -O2 bz180454.cpp -march=btver2
clang-5.0:
/home/probinson/projects/llvm-org/trunk/llvm/lib/Target/X86/X86InterleavedAccess.cpp:130:
void {anonymous}::X86InterleavedAccessGroup::decompose(llvm::Instruction*,
unsigned int, llvm::VectorType*, llvm::SmallVectorImpl<llvm::Instruction*>&):
Assertion `VecTy->isVectorTy() && DL.getTypeSizeInBits(VecTy) >=
DL.getTypeSizeInBits(SubVecTy) * NumSubVectors && "Invalid Inst-size!!!"'
failed.


I don't get a failure with r306050, but it fails with r306100.
Most likely suspect looks like r306068.

-- 
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