[llvm-bugs] [Bug 33826] New: Assertion `Invalid Inst-size!!!' in X86InterleavedAccess.cpp

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jul 17 15:44:18 PDT 2017


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: unassignedbugs at nondot.org
          Reporter: paul_robinson at playstation.sony.com
                CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170717/a8958599/attachment.html>


More information about the llvm-bugs mailing list