<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 - Crash test-suite/SingleSource/UnitTests/Vector/AVX512F/t_movzext.c"
href="https://bugs.llvm.org/show_bug.cgi?id=43170">43170</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Crash test-suite/SingleSource/UnitTests/Vector/AVX512F/t_movzext.c
</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>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Common Code Generator Code
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>llvm@meinersbur.de
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=22449" name="attach_22449" title="t_movzext-4e1c95.ll">attachment 22449</a> <a href="attachment.cgi?id=22449&action=edit" title="t_movzext-4e1c95.ll">[details]</a></span>
t_movzext-4e1c95.ll
The attached file (derived by compiling the test-suite's
SingleSource/UnitTests/Vector/AVX512F/t_movzext.c with clang) crashes the code
generator (invoked either using llc or clang).
clang/LLVM version r370251.
$ llc t_movzext-4e1c95.ll
llc:
/tmp/meinersbur/execslave/persistent/job_ci/llvm-src/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1570:
llvm::SDValue llvm::SelectionDAG::getVectorShuffle(llvm::EVT, const
llvm::SDLoc&, llvm::SDValue, llvm::SDValue, llvm::ArrayRef<int>): Assertion
`VT.getVectorNumElements() == Mask.size() && "Must have the same number of
vector elements as mask elements!"' failed.
Stack dump:
0. Program arguments:
/tmp/meinersbur/execslave/persistent/job_ci/llvm-install/bin/llc
t_movzext-4e1c95.ll
1. Running pass 'Function Pass Manager' on module 't_movzext-4e1c95.ll'.
2. Running pass 'X86 DAG->DAG Instruction Selection' on function
'@do_zext'
#0 0x0000000002561c7a llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/tmp/meinersbur/execslave/persistent/job_ci/llvm-install/bin/llc+0x2561c7a)
#1 0x000000000255fac4 llvm::sys::RunSignalHandlers()
(/tmp/meinersbur/execslave/persistent/job_ci/llvm-install/bin/llc+0x255fac4)
#2 0x000000000255fbf2 SignalHandler(int)
(/tmp/meinersbur/execslave/persistent/job_ci/llvm-install/bin/llc+0x255fbf2)
#3 0x00007f32f6943680 __restore_rt (/lib64/libpthread.so.0+0xf680)
#4 0x00007f32f54b5207 raise (/lib64/libc.so.6+0x36207)
#5 0x00007f32f54b68f8 abort (/lib64/libc.so.6+0x378f8)
#6 0x00007f32f54ae026 __assert_fail_base (/lib64/libc.so.6+0x2f026)
#7 0x00007f32f54ae0d2 (/lib64/libc.so.6+0x2f0d2)
#8 0x00000000023cbfbd llvm::SelectionDAG::getVectorShuffle(llvm::EVT,
llvm::SDLoc const&, llvm::SDValue, llvm::SDValue, llvm::ArrayRef<int>)
(/tmp/meinersbur/execslave/persistent/job_ci/llvm-install/bin/llc+0x23cbfbd)
#9 0x000000000142adf3 EltsFromConsecutiveLoads(llvm::EVT,
llvm::ArrayRef<llvm::SDValue>, llvm::SDLoc const&, llvm::SelectionDAG&,
llvm::X86Subtarget const&, bool)
(/tmp/meinersbur/execslave/persistent/job_ci/llvm-install/bin/llc+0x142adf3)
#10 0x000000000142b682 combineConcatVectorOps(llvm::SDLoc const&, llvm::MVT,
llvm::ArrayRef<llvm::SDValue>, llvm::SelectionDAG&,
llvm::TargetLowering::DAGCombinerInfo&, llvm::X86Subtarget const&) (.isra.1541)
(/tmp/meinersbur/execslave/persistent/job_ci/llvm-install/bin/llc+0x142b682)
#11 0x000000000149c843
llvm::X86TargetLowering::PerformDAGCombine(llvm::SDNode*,
llvm::TargetLowering::DAGCombinerInfo&) const
(/tmp/meinersbur/execslave/persistent/job_ci/llvm-install/bin/llc+0x149c843)
#12 0x00000000022f0d3b (anonymous
namespace)::DAGCombiner::combine(llvm::SDNode*)
(/tmp/meinersbur/execslave/persistent/job_ci/llvm-install/bin/llc+0x22f0d3b)
#13 0x00000000022f26fd (anonymous
namespace)::DAGCombiner::Run(llvm::CombineLevel)
(/tmp/meinersbur/execslave/persistent/job_ci/llvm-install/bin/llc+0x22f26fd)
#14 0x00000000022f489d llvm::SelectionDAG::Combine(llvm::CombineLevel,
llvm::AAResults*, llvm::CodeGenOpt::Level)
(/tmp/meinersbur/execslave/persistent/job_ci/llvm-install/bin/llc+0x22f489d)
#15 0x00000000023e6753 llvm::SelectionDAGISel::CodeGenAndEmitDAG()
(/tmp/meinersbur/execslave/persistent/job_ci/llvm-install/bin/llc+0x23e6753)
#16 0x00000000023eb208
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&)
(/tmp/meinersbur/execslave/persistent/job_ci/llvm-install/bin/llc+0x23eb208)
#17 0x00000000023ecc5c
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&)
(.part.805)
(/tmp/meinersbur/execslave/persistent/job_ci/llvm-install/bin/llc+0x23ecc5c)
#18 0x00000000013b3d0f (anonymous
namespace)::X86DAGToDAGISel::runOnMachineFunction(llvm::MachineFunction&)
(/tmp/meinersbur/execslave/persistent/job_ci/llvm-install/bin/llc+0x13b3d0f)
#19 0x0000000001b6666f
llvm::MachineFunctionPass::runOnFunction(llvm::Function&)
(/tmp/meinersbur/execslave/persistent/job_ci/llvm-install/bin/llc+0x1b6666f)
#20 0x0000000001efb281 llvm::FPPassManager::runOnFunction(llvm::Function&)
(/tmp/meinersbur/execslave/persistent/job_ci/llvm-install/bin/llc+0x1efb281)
#21 0x0000000001efb371 llvm::FPPassManager::runOnModule(llvm::Module&)
(/tmp/meinersbur/execslave/persistent/job_ci/llvm-install/bin/llc+0x1efb371)
#22 0x0000000001efa551 llvm::legacy::PassManagerImpl::run(llvm::Module&)
(/tmp/meinersbur/execslave/persistent/job_ci/llvm-install/bin/llc+0x1efa551)
#23 0x0000000000791fe2 main
(/tmp/meinersbur/execslave/persistent/job_ci/llvm-install/bin/llc+0x791fe2)
#24 0x00007f32f54a13d5 __libc_start_main (/lib64/libc.so.6+0x223d5)
#25 0x00000000007fe679 _start
(/tmp/meinersbur/execslave/persistent/job_ci/llvm-install/bin/llc+0x7fe679)
Aborted</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>