https://bugs.llvm.org/show_bug.cgi?id=47660
Bug ID: 47660
Summary: Assertion failed: (isSimple() && "Expected a
SimpleValueType!"), function getSimpleVT, file
/usr/src/contrib/llvm-project/llvm/include/llvm/CodeGe
n/ValueTypes.h, line 261.
Product: libraries
Version: 11.0
Hardware: Other
OS: FreeBSD
Status: NEW
Severity: normal
Priority: P
Component: Backend: PowerPC
Assignee: unassignedb...@nondot.org
Reporter: pku...@anongoth.pl
CC: llvm-bugs@lists.llvm.org, nemanja.i....@gmail.com
FreeBSD head, LLVM 11.0.0-rc2-91-g6e042866c30, powerpc64le (builds on
powerpc64)
Test case:
struct c {
unsigned char b;
char d;
char blue;
};
double e;
c f(c g) {
c a;
a.b = g.b * e;
return a;
}
Build with:
/usr/bin/c++ -cc1 -triple powerpc64-unknown-freebsd13.0 -emit-obj -O>
0 -emit-obj -O1 OCOLTBL-26eb53.cpp
Result:
Assertion failed: (isSimple() && "Expected a SimpleValueType!"), function
getSimpleVT, file
/usr/src/contrib/llvm-project/llvm/include/llvm/CodeGen/ValueTypes.h, line 261.
PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the
crash backtrace, preprocessed source, and associated run script.
Stack dump:
0. Program arguments: /usr/bin/c++ -cc1 -triple
powerpc64le-unknown-freebsd13.0 -emit-obj -O1 OCOLTBL-26eb53.cpp
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module 'OCOLTBL-26eb53.cpp'.
4. Running pass 'PowerPC DAG->DAG Pattern Instruction Selection' on
function '@_Z1f1c'
#0 0x0000000013ffdea8 (/usr/bin/c+++0x13ffdea8)
#1 0x0000000013ffb588 (/usr/bin/c+++0x13ffb588)
#2 0x0000000013ffe9f8 (/usr/bin/c+++0x13ffe9f8)
#3 0x0000000815dc76f4 (/lib/libthr.so.3+0x2f6f4)
Abort trap (core dumped)
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs