http://llvm.org/bugs/show_bug.cgi?id=13352
Bug #: 13352
Summary: [AVX2] assertion hits in SelectionDAG.cpp
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
Created attachment 8888
--> http://llvm.org/bugs/attachment.cgi?id=8888
test case
With the attached program, I get the following assertion:
% llc -mattr=+avx2 ~/bugpoint-reduced-simplified.ll
Assertion failed: (VT.getSizeInBits() == Operand.getValueType().getSizeInBits()
&& "Cannot BITCAST between types of different sizes!"), function getNode, file
SelectionDAG.cpp, line 2566.
[...]
Stack dump:
0. Program arguments: llc -mattr=+avx2
/Users/mmp/bugpoint-reduced-simplified.ll
1. Running pass 'Function Pass Manager' on module
'/Users/mmp/bugpoint-reduced-simplified.ll'.
2. Running pass 'X86 DAG->DAG Instruction Selection' on function '@f_f'
[1] 93330 illegal hardware instruction llc -mattr=+avx2
~/bugpoint-reduced-simplified.ll
%
It compiles fine if I run with just "-mattr=+avx".
I've tried a number of older versions of LLVM ToT from the past month or so and
this bug seems to be present in all of them (i.e. not a recent regression).
--
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs