<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - [X86] Assertion failed: ((I->getValueType() == EltVT || (EltVT.isInteger() && I->getValueType().isInteger() && EltVT.bitsLE(I->getValueType()))) && "Wrong operand type!")"
href="https://bugs.llvm.org/show_bug.cgi?id=41203">41203</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[X86] Assertion failed: ((I->getValueType() == EltVT || (EltVT.isInteger() && I->getValueType().isInteger() && EltVT.bitsLE(I->getValueType()))) && "Wrong operand type!")
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Backend: X86
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>florian_hahn@apple.com
</td>
</tr>
<tr>
<th>CC</th>
<td>craig.topper@gmail.com, llvm-bugs@lists.llvm.org, llvm-dev@redking.me.uk, spatel+llvm@rotateright.com
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=21654" name="attach_21654" title="Reproducer">attachment 21654</a> <a href="attachment.cgi?id=21654&action=edit" title="Reproducer">[details]</a></span>
Reproducer
The reproducer triggers the following assertion on X86 with AVX512. Bisected to
<a href="https://reviews.llvm.org/rL356618">https://reviews.llvm.org/rL356618</a>
Assertion failed: ((I->getValueType() == EltVT || (EltVT.isInteger() &&
I->getValueType().isInteger() && EltVT.bitsLE(I->getValueType()))) && "Wrong
operand type!"), function VerifySDNode, file
llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp, line 816.
Stack dump:
0. Program arguments: bin/llc ../test-suite/bugpoint-reduced-simplified.bc
1. Running pass 'Function Pass Manager' on module
'../test-suite/bugpoint-reduced-simplified.bc'.
2. Running pass 'X86 DAG->DAG Instruction Selection' on function
'@do_zinsertf32x4'
0 llc 0x000000010c5f68b5
llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 37
1 llc 0x000000010c5f57f8 llvm::sys::RunSignalHandlers() +
248
2 llc 0x000000010c5f6ec8 SignalHandler(int) + 264
3 libsystem_platform.dylib 0x00007fff5aa88b5d _sigtramp + 29
4 libsystem_platform.dylib 0x0000000114cce938 _sigtramp + 3122945528
5 libsystem_c.dylib 0x00007fff5a9476a6 abort + 127
6 libsystem_c.dylib 0x00007fff5a91010d basename_r + 0
7 llc 0x000000010c46d3d4
llvm::SelectionDAG::InsertNode(llvm::SDNode*) + 1588
8 llc 0x000000010c494f77
llvm::SelectionDAG::getNode(unsigned int, llvm::SDLoc const&, llvm::EVT,
llvm::ArrayRef<llvm::SDValue>, llvm::SDNodeFlags) + 1351
9 llc 0x000000010b684722
lowerShuffleAsBitMask(llvm::SDLoc const&, llvm::MVT, llvm::SDValue,
llvm::SDValue, llvm::ArrayRef<int>, llvm::APInt const&, llvm::X86Subtarget
const&, llvm::SelectionDAG&) + 898
10 llc 0x000000010b6803fd lowerShuffleAsBlend(llvm::SDLoc
const&, llvm::MVT, llvm::SDValue, llvm::SDValue, llvm::ArrayRef<int>,
llvm::APInt const&, llvm::X86Subtarget const&, llvm::SelectionDAG&) + 621
11 llc 0x000000010b6057b3
lowerVectorShuffle(llvm::SDValue, llvm::X86Subtarget const&,
llvm::SelectionDAG&) + 15555
12 llc 0x000000010b5ea5c7
llvm::X86TargetLowering::LowerOperation(llvm::SDValue, llvm::SelectionDAG&)
const + 16551
13 llc 0x000000010c34a762 (anonymous
namespace)::SelectionDAGLegalize::LegalizeOp(llvm::SDNode*) + 3762
14 llc 0x000000010c349770 llvm::SelectionDAG::Legalize() +
384
15 llc 0x000000010c4c66f2
llvm::SelectionDAGISel::CodeGenAndEmitDAG() + 4994
16 llc 0x000000010c4c3ceb
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) + 9835
17 llc 0x000000010c4c0285
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 2245
18 llc 0x000000010b588df1 (anonymous
namespace)::X86DAGToDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 65
19 llc 0x000000010bbe769a
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 330
20 llc 0x000000010bf3af76
llvm::FPPassManager::runOnFunction(llvm::Function&) + 726
21 llc 0x000000010bf3b2c8
llvm::FPPassManager::runOnModule(llvm::Module&) + 72
22 llc 0x000000010bf3b742
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 834
23 llc 0x000000010a92e212 compileModule(char**,
llvm::LLVMContext&) + 9986
24 llc 0x000000010a92b87c main + 1948
25 libdyld.dylib 0x00007fff5a8a13ed start + 1</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>