[LLVMbugs] [Bug 10689] New: [AVX] Assertion failed: (Num < NumOperands && "Invalid child # of SDNode!"),
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Aug 17 09:38:41 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=10689
Summary: [AVX] Assertion failed: (Num < NumOperands && "Invalid
child # of SDNode!"),
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=7086)
--> (http://llvm.org/bugs/attachment.cgi?id=7086)
test case
With top-of-tree, if I run llc -mattr=+avx on the attached, I get the following
crash:
Assertion failed: (Num < NumOperands && "Invalid child # of SDNode!"), function
getOperand, file
/Users/mmp/llvm-dev-src/include/llvm/CodeGen/SelectionDAGNodes.h, line 534.
0 llc 0x000000010b1b8a22
llvm::PrettyStackTraceProgram::~PrettyStackTraceProgram() + 6494
1 llc 0x000000010b1b9029
llvm::PrettyStackTraceProgram::~PrettyStackTraceProgram() + 8037
2 libsystem_c.dylib 0x00007fff86a09cfa _sigtramp + 26
3 libsystem_c.dylib 0x0000000000000010 _sigtramp + 18446603338257490736
4 llc 0x000000010b1b8986
llvm::PrettyStackTraceProgram::~PrettyStackTraceProgram() + 6338
5 llc 0x000000010b1b89d8
llvm::PrettyStackTraceProgram::~PrettyStackTraceProgram() + 6420
6 llc 0x000000010ac05a6a llvm::X86Subtarget::isTargetELF() const
+ 214978
7 llc 0x000000010abe7d35 llvm::X86Subtarget::isTargetELF() const
+ 92813
8 llc 0x000000010ad13855 std::vector<llvm::SDValue,
std::allocator<llvm::SDValue> >::reserve(unsigned long) + 3057
9 llc 0x000000010ad12dc1 std::vector<llvm::SDValue,
std::allocator<llvm::SDValue> >::reserve(unsigned long) + 349
10 llc 0x000000010adbfcad llvm::SelectionDAGBuilder::Case::size()
const + 33897
11 llc 0x000000010adc1c92 llvm::SelectionDAGBuilder::Case::size()
const + 42062
12 llc 0x000000010adc28eb llvm::SelectionDAGBuilder::Case::size()
const + 45223
13 llc 0x000000010ae9e034
llvm::MachineFunctionAnalysis::getPassName() const + 458
14 llc 0x000000010b11f95d llvm::cl::parser<llvm::PassInfo
const*>::~parser() + 26355
15 llc 0x000000010b11b33b llvm::cl::parser<llvm::PassInfo
const*>::~parser() + 8401
16 llc 0x000000010b11f65a llvm::cl::parser<llvm::PassInfo
const*>::~parser() + 25584
17 llc 0x000000010b120a81 llvm::cl::parser<llvm::PassInfo
const*>::~parser() + 30743
18 llc 0x000000010b120b01 llvm::cl::parser<llvm::PassInfo
const*>::~parser() + 30871
19 llc 0x000000010a88b9e3
20 llc 0x000000010a88a234
21 llc 0x0000000000000003
Stack dump:
0. Program arguments: /Users/mmp/llvm-dev/bin/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
'@"result___REFUf[]"'
[1] 61517 illegal hardware instruction ~/llvm-dev/bin/llc -mattr=+avx
bug.bc
As it turns out, running bugpoint on the attached gives a different crash,
which I've reported separately in http://llvm.org/bugs/show_bug.cgi?id=10688
--
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