[LLVMbugs] [Bug 10529] New: [AVX] Assertion failed: (begin() + idx < end()), function operator[], file SmallVector.h, line 154.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jul 28 12:39:15 PDT 2011


http://llvm.org/bugs/show_bug.cgi?id=10529

           Summary: [AVX] Assertion failed: (begin() + idx < end()),
                    function operator[], file SmallVector.h, line 154.
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: matt at pharr.org
                CC: llvmbugs at cs.uiuc.edu


With the attached, I get the following assertion with TOT if I run it through
llc with -mattr=+avx.


Assertion failed: (begin() + idx < end()), function operator[], file
/Users/mmp/llvm-dev-src/include/llvm/ADT/SmallVector.h, line 154.
0  llc               0x00000001052cb062
llvm::PrettyStackTraceProgram::~PrettyStackTraceProgram() + 6494
1  llc               0x00000001052cb669
llvm::PrettyStackTraceProgram::~PrettyStackTraceProgram() + 8037
2  libsystem_c.dylib 0x00007fff8a2a9cfa _sigtramp + 26
3  libsystem_c.dylib 000000000000000000 _sigtramp + 18446603338198115104
4  llc               0x00000001052cafc6
llvm::PrettyStackTraceProgram::~PrettyStackTraceProgram() + 6338
5  llc               0x00000001052cb018
llvm::PrettyStackTraceProgram::~PrettyStackTraceProgram() + 6420
6  llc               0x0000000104d3b6d3 llvm::X86Subtarget::isTargetELF() const
+ 310283
7  llc               0x0000000104d03827 llvm::X86Subtarget::isTargetELF() const
+ 81247
8  llc               0x0000000104dd065a llvm::DenseMap<llvm::SDValue, unsigned
int, llvm::DenseMapInfo<llvm::SDValue>, llvm::DenseMapInfo<unsigned int>
>::insert(std::pair<llvm::SDValue, unsigned int> const&) + 26290
9  llc               0x0000000104dd28d3 llvm::DenseMap<llvm::SDValue, unsigned
int, llvm::DenseMapInfo<llvm::SDValue>, llvm::DenseMapInfo<unsigned int>
>::insert(std::pair<llvm::SDValue, unsigned int> const&) + 35115
10 llc               0x0000000104dd0106 llvm::DenseMap<llvm::SDValue, unsigned
int, llvm::DenseMapInfo<llvm::SDValue>, llvm::DenseMapInfo<unsigned int>
>::insert(std::pair<llvm::SDValue, unsigned int> const&) + 24926
11 llc               0x0000000104dd28d3 llvm::DenseMap<llvm::SDValue, unsigned
int, llvm::DenseMapInfo<llvm::SDValue>, llvm::DenseMapInfo<unsigned int>
>::insert(std::pair<llvm::SDValue, unsigned int> const&) + 35115
12 llc               0x0000000104dca191 llvm::DenseMap<llvm::SDValue, unsigned
int, llvm::DenseMapInfo<llvm::SDValue>, llvm::DenseMapInfo<unsigned int>
>::insert(std::pair<llvm::SDValue, unsigned int> const&) + 489
13 llc               0x0000000104ed8141 llvm::SelectionDAGBuilder::Case::size()
const + 34781
14 llc               0x0000000104ed9dd2 llvm::SelectionDAGBuilder::Case::size()
const + 42094
15 llc               0x0000000104edaa2b llvm::SelectionDAGBuilder::Case::size()
const + 45255
16 llc               0x0000000104fb7f14
llvm::MachineFunctionAnalysis::getPassName() const + 458
17 llc               0x000000010523333d llvm::cl::parser<llvm::PassInfo
const*>::~parser() + 26339
18 llc               0x000000010522ed2b llvm::cl::parser<llvm::PassInfo
const*>::~parser() + 8401
19 llc               0x000000010523303a llvm::cl::parser<llvm::PassInfo
const*>::~parser() + 25568
20 llc               0x0000000105234461 llvm::cl::parser<llvm::PassInfo
const*>::~parser() + 30727
21 llc               0x00000001052344e1 llvm::cl::parser<llvm::PassInfo
const*>::~parser() + 30855
22 llc               0x00000001049b5ed3
23 llc               0x00000001049b4734
24 llc               0x0000000000000003
Stack dump:
0.    Program arguments: llc -mattr=+avx bug.bc 
1.    Running pass 'Function Pass Manager' on module 'bug.bc'.
2.    Running pass 'X86 DAG->DAG Instruction Selection' on function
'@"f_f___REFUf[]REFUf[]"'
[1]    23018 illegal hardware instruction  llc -mattr=+avx bug.bc

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list