<html>
<head>
<base href="http://llvm.org/bugs/" />
</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 --- - [AVX512] argument #2 has unhandled type v16i1 error with <16 x i1> function argument"
href="http://llvm.org/bugs/show_bug.cgi?id=20665">20665</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[AVX512] argument #2 has unhandled type v16i1 error with <16 x i1> function argument
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</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>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>matt@pharr.org
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=12899" name="attach_12899" title="test case">attachment 12899</a> <a href="attachment.cgi?id=12899&action=edit" title="test case">[details]</a></span>
test case
Given the attached simple bitcode where a 16xi1 is passed as a function
argument, I get the following with top of tree:
% ~/llvm-dev/bin/llc bug.ll -filetype=asm -o - -mcpu=knl
.section __TEXT,__text,regular,pure_instructions
.macosx_version_min 13, 3
Formal argument #2 has unhandled type v16i1
UNREACHABLE executed at CallingConvLower.cpp:80!
0 llc 0x000000010bc09438 void
std::__1::seed_seq::generate<unsigned int*>(unsigned int*, unsigned int*) +
11736
1 llc 0x000000010bc09924 void
std::__1::seed_seq::generate<unsigned int*>(unsigned int*, unsigned int*) +
12996
2 libsystem_platform.dylib 0x00007fff8d2115aa _sigtramp + 26
3 libsystem_platform.dylib 0x000000000000000a _sigtramp + 1927211642
4 llc 0x000000010bc096d6 void
std::__1::seed_seq::generate<unsigned int*>(unsigned int*, unsigned int*) +
12406
5 llc 0x000000010bbf4cd1 void*
llvm::object_creator<llvm::StringMap<void*, llvm::MallocAllocator> >() + 3537
6 llc 0x000000010b689432 void
std::__1::vector<llvm::BranchFolder::SameTailElt,
std::__1::allocator<llvm::BranchFolder::SameTailElt>
<span class="quote">>::__push_back_slow_path<llvm::BranchFolder::SameTailElt>(llvm::BranchFolder::SameTailElt&&)</span >
+ 9666
7 llc 0x000000010b3941f3 std::__1::__tree<unsigned short,
std::__1::less<unsigned short>, std::__1::allocator<unsigned short>
<span class="quote">>::destroy(std::__1::__tree_node<unsigned short, void*>*) + 89203</span >
8 llc 0x000000010b5e2219
std::__1::__tree<std::__1::__value_type<llvm::SDNode const*,
std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> > >, std::__1::__map_value_compare<llvm::SDNode
const*, std::__1::__value_type<llvm::SDNode const*,
std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> > >, std::__1::less<llvm::SDNode const*>, true>,
std::__1::allocator<std::__1::__value_type<llvm::SDNode const*,
std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> > > >
<span class="quote">>::destroy(std::__1::__tree_node<std::__1::__value_type<llvm::SDNode const*,</span >
std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> > >, void*>*) + 236009
9 llc 0x000000010b5f315a void
std::__1::vector<llvm::GCRoot, std::__1::allocator<llvm::GCRoot>
<span class="quote">>::__push_back_slow_path<llvm::GCRoot>(llvm::GCRoot&&) + 33082</span >
10 llc 0x000000010b5f023a void
std::__1::vector<llvm::GCRoot, std::__1::allocator<llvm::GCRoot>
<span class="quote">>::__push_back_slow_path<llvm::GCRoot>(llvm::GCRoot&&) + 21018</span >
11 llc 0x000000010b37e689 std::__1::__tree<unsigned short,
std::__1::less<unsigned short>, std::__1::allocator<unsigned short>
<span class="quote">>::destroy(std::__1::__tree_node<unsigned short, void*>*) + 265</span >
12 llc 0x000000010b72b95c llvm::raw_ostream&
llvm::WriteGraph<llvm::MachineFunction const*>(llvm::raw_ostream&,
llvm::MachineFunction const* const&, bool, llvm::Twine const&) + 5708
13 llc 0x000000010bb96f9d void*
llvm::object_creator<llvm::LeakDetectorImpl<void> >() + 26189
14 llc 0x000000010bb9722b void*
llvm::object_creator<llvm::LeakDetectorImpl<void> >() + 26843
15 llc 0x000000010bb9785c void*
llvm::object_creator<llvm::LeakDetectorImpl<void> >() + 28428
16 llc 0x000000010ad4cd29
17 libdyld.dylib 0x00007fff8c1155fd start + 1
Stack dump:
0. Program arguments: /Users/mpharr/llvm-dev/bin/llc bug.ll -filetype=asm -o
- -mattr=+avx512 -mcpu=knl
1. Running pass 'Function Pass Manager' on module 'bug.ll'.
2. Running pass 'X86 DAG->DAG Instruction Selection' on function
'@add___vyfvyf'
[1] 66272 illegal hardware instruction ~/llvm-dev/bin/llc bug.ll
-filetype=asm -o -mcpu=knl</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>