[LLVMbugs] [Bug 10560] New: [AVX] assertion failed: ((EltVT.getSizeInBits() >= 64 || (uint64_t)((int64_t)Val >> EltVT.getSizeInBits()) + 1 < 2) && "getConstant with a uint64_t value that doesn't fit in the type!"), function getConstant, file SelectionDAG.cpp, line 916.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Aug 1 23:44:09 PDT 2011


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

           Summary: [AVX] assertion failed: ((EltVT.getSizeInBits() >= 64
                    || (uint64_t)((int64_t)Val >> EltVT.getSizeInBits()) +
                    1 < 2) && "getConstant with a uint64_t value that
                    doesn't fit in the type!"), function getConstant, file
                    SelectionDAG.cpp, line 916.
           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


Created an attachment (id=6996)
 --> (http://llvm.org/bugs/attachment.cgi?id=6996)
test case

With TOT, the attached, and llc -mattr=+avx, I'm seeing:


Assertion failed: ((EltVT.getSizeInBits() >= 64 || (uint64_t)((int64_t)Val >>
EltVT.getSizeInBits()) + 1 < 2) && "getConstant with a uint64_t value that
doesn't fit in the type!"), function getConstant, file SelectionDAG.cpp, line
916.
0  llc               0x00000001024a5872
llvm::PrettyStackTraceProgram::~PrettyStackTraceProgram() + 6494
1  llc               0x00000001024a5e79
llvm::PrettyStackTraceProgram::~PrettyStackTraceProgram() + 8037
2  libsystem_c.dylib 0x00007fff8e320cfa _sigtramp + 26
3  libsystem_c.dylib 000000000000000000 _sigtramp + 18446603338130518816
4  llc               0x00000001024a57d6
llvm::PrettyStackTraceProgram::~PrettyStackTraceProgram() + 6338
5  llc               0x00000001024a5828
llvm::PrettyStackTraceProgram::~PrettyStackTraceProgram() + 6420
6  llc               0x000000010205a8ac void std::__final_insertion_sort<long
long*>(long long*, long long*) + 114396
7  llc               0x0000000101f11642 llvm::X86Subtarget::isTargetELF() const
+ 297834
8  llc               0x0000000101edc867 llvm::X86Subtarget::isTargetELF() const
+ 81295
9  llc               0x0000000101faa52a llvm::DenseMap<llvm::SDValue, unsigned
int, llvm::DenseMapInfo<llvm::SDValue>, llvm::DenseMapInfo<unsigned int>
>::insert(std::pair<llvm::SDValue, unsigned int> const&) + 26290
10 llc               0x0000000101fa4061 llvm::DenseMap<llvm::SDValue, unsigned
int, llvm::DenseMapInfo<llvm::SDValue>, llvm::DenseMapInfo<unsigned int>
>::insert(std::pair<llvm::SDValue, unsigned int> const&) + 489
11 llc               0x00000001020b2061 llvm::SelectionDAGBuilder::Case::size()
const + 34781
12 llc               0x00000001020b3ce2 llvm::SelectionDAGBuilder::Case::size()
const + 42078
13 llc               0x00000001020b493b llvm::SelectionDAGBuilder::Case::size()
const + 45239
14 llc               0x0000000102191e54
llvm::MachineFunctionAnalysis::getPassName() const + 458
15 llc               0x000000010240da8d llvm::cl::parser<llvm::PassInfo
const*>::~parser() + 26339
16 llc               0x000000010240947b llvm::cl::parser<llvm::PassInfo
const*>::~parser() + 8401
17 llc               0x000000010240d78a llvm::cl::parser<llvm::PassInfo
const*>::~parser() + 25568
18 llc               0x000000010240ebb1 llvm::cl::parser<llvm::PassInfo
const*>::~parser() + 30727
19 llc               0x000000010240ec31 llvm::cl::parser<llvm::PassInfo
const*>::~parser() + 30855
20 llc               0x0000000101b8d3d3
21 llc               0x0000000101b8bc34
Stack dump:
0.    Program arguments: /Users/mmp/llvm-dev/bin/llc
bugpoint-reduced-simplified.bc -mattr=+avx 
1.    Running pass 'Function Pass Manager' on module
'bugpoint-reduced-simplified.bc'.
2.    Running pass 'X86 DAG->DAG Instruction Selection' on function
'@"f_fu___REFUf[]REFUf[]Uf"'
[1]    66355 illegal hardware instruction  ~/llvm-dev/bin/llc
bugpoint-reduced-simplified.bc -mattr=+avx

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