[llvm-bugs] [Bug 45237] New: Assertion failed: (!IsStrict && "Don't know how to expand for strict nodes."), function ExpandNode, file llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp, line 3638.
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Mar 18 08:19:37 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=45237
Bug ID: 45237
Summary: Assertion failed: (!IsStrict && "Don't know how to
expand for strict nodes."), function ExpandNode, file
llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp, line
3638.
Product: libraries
Version: 10.0
Hardware: Other
OS: FreeBSD
Status: NEW
Severity: normal
Priority: P
Component: Common Code Generator Code
Assignee: unassignedbugs at nondot.org
Reporter: pkubaj at anongoth.pl
CC: llvm-bugs at lists.llvm.org
Created attachment 23250
--> https://bugs.llvm.org/attachment.cgi?id=23250&action=edit
reproduction files
FreeBSD head on powerpc64, LLVM 10 rc3.
I'm building x11/babl port:
FAILED: babl/base/935b676@@babl_base at sta/model-cmyk.c.o
cc -Ibabl/base/935b676@@babl_base at sta -Ibabl/base -I../babl/base -I. -I../
-Ibabl -I../babl -I/usr/local/include -Xclang -fcolor-diagnostics -pipe
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -Ofast
-fno-unsafe-math-optimizations -Wdeclaration-after-statement -Winit-self
-Wmissing-declarations -Wmissing-prototypes -Wold-style-definition
-Wpointer-arith -O2 -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing -isystem /usr/local/include -fPIC -MD -MQ
'babl/base/935b676@@babl_base at sta/model-cmyk.c.o' -MF
'babl/base/935b676@@babl_base at sta/model-cmyk.c.o.d' -o
'babl/base/935b676@@babl_base at sta/model-cmyk.c.o' -c ../babl/base/model-cmyk.c
Assertion failed: (!IsStrict && "Don't know how to expand for strict nodes."),
function ExpandNode, file
/usr/src/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp,
line 3638.
Stack dump:
0. Program arguments: cc -Ibabl/base/935b676@@babl_base at sta -Ibabl/base
-I../babl/base -I. -I../ -Ibabl -I../babl -I/usr/local/include -Xclang
-fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -Ofast
-fno-unsafe-math-optimizations -Wdeclaration-after-statement -Winit-self
-Wmissing-declarations -Wmissing-prototypes -Wold-style-definition
-Wpointer-arith -O2 -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing -isystem /usr/local/include -fPIC -MD -MQ
babl/base/935b676@@babl_base at sta/model-cmyk.c.o -MF
babl/base/935b676@@babl_base at sta/model-cmyk.c.o.d -o
babl/base/935b676@@babl_base at sta/model-cmyk.c.o -c ../babl/base/model-cmyk.c
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module
'../babl/base/model-cmyk.c'.
4. Running pass 'PowerPC DAG->DAG Pattern Instruction Selection' on
function '@cmyka_to_cmykA'
#0 0x0000000013bac208 PrintStackTrace
/usr/src/contrib/llvm-project/llvm/lib/Support/Unix/Signals.inc:564:13
#1 0x0000000013ba98d0 RunSignalHandlers
/usr/src/contrib/llvm-project/llvm/lib/Support/Signals.cpp:67:5
#2 0x0000000013baf278 HandleCrash
/usr/src/contrib/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:75:7
#3 0x0000000013baf4ec CrashRecoverySignalHandler
/usr/src/contrib/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:0:51
#4 0x0000000815732748 handle_signal /usr/src/lib/libthr/thread/thr_sig.c:303:3
cc: error: clang frontend command failed due to signal (use -v to see
invocation)
FreeBSD clang version 10.0.0 (git at github.com:llvm/llvm-project.git
llvmorg-10.0.0-rc3-1-gc290cb61fdc)
Target: powerpc64-unknown-freebsd13.0
Thread model: posix
InstalledDir: /usr/bin
cc: note: diagnostic msg: PLEASE submit a bug report to
https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed
source, and associated run script.
cc: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
cc: note: diagnostic msg: /tmp/model-cmyk-32e52d.c
cc: note: diagnostic msg: /tmp/model-cmyk-32e52d.sh
cc: note: diagnostic msg:
********************
I'm attaching the files needed for reproduction.
--
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/20200318/eed89ea1/attachment.html>
More information about the llvm-bugs
mailing list