[llvm-bugs] [Bug 51311] New: [DAG] NumValues wasn't wide enough for its operands!
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Aug 2 13:07:17 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=51311
Bug ID: 51311
Summary: [DAG] NumValues wasn't wide enough for its operands!
Product: libraries
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Common Code Generator Code
Assignee: unassignedbugs at nondot.org
Reporter: llvm-dev at redking.me.uk
CC: llvm-bugs at lists.llvm.org
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=36779
Reduced:
define void @test() {
%E = extractvalue [1000000 x i8] undef, 999999
ret void
}
llc fuzz.ll -o -
.text
.file "fuzz.ll"
llc:
/home/simon/LLVM/llvm-project/llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1061:
llvm::SDNode::SDNode(unsigned int, unsigned int, llvm::DebugLoc,
llvm::SDVTList): Assertion `NumValues == VTs.NumVTs && "NumValues wasn't wide
enough for its operands!"' failed.
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash
backtrace.
Stack dump:
0. Program arguments: llc fuzz.ll -o -
1. Running pass 'Function Pass Manager' on module 'fuzz.ll'.
2. Running pass 'X86 DAG->DAG Instruction Selection' on function '@test'
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH
or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
llc(+0x3137b54)[0x7f37b6645b54]
llc(+0x3134f4e)[0x7f37b6642f4e]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x153c0)[0x7f37b34c23c0]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb)[0x7f37b2f8618b]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x12b)[0x7f37b2f65859]
/lib/x86_64-linux-gnu/libc.so.6(+0x25729)[0x7f37b2f65729]
/lib/x86_64-linux-gnu/libc.so.6(+0x36f36)[0x7f37b2f76f36]
llc(+0x2eda305)[0x7f37b63e8305]
llc(_ZN4llvm12SelectionDAG7getNodeEjRKNS_5SDLocENS_8SDVTListENS_8ArrayRefINS_7SDValueEEENS_11SDNodeFlagsE+0x6e9)[0x7f37b64075c9]
llc(_ZN4llvm12SelectionDAG14getMergeValuesENS_8ArrayRefINS_7SDValueEEERKNS_5SDLocE+0x159)[0x7f37b6407af9]
llc(_ZN4llvm19SelectionDAGBuilder12getValueImplEPKNS_5ValueE+0xe95)[0x7f37b63a2c55]
llc(_ZN4llvm19SelectionDAGBuilder8getValueEPKNS_5ValueE+0x75)[0x7f37b63a7dd5]
--
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/20210802/4a31c07b/attachment.html>
More information about the llvm-bugs
mailing list