[AVX512] argument #​2 has unhandled type v16i1 error with <16 x i1> function argument
| Bugzilla Link | 20665 |
| Resolution | FIXED |
| Resolved on | Apr 27, 2015 10:24 |
| Version | unspecified |
| OS | All |
| Attachments | test case |
| Reporter | LLVM Bugzilla Contributor |
| CC | @delena |
Extended Description
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::allocatorllvm::BranchFolder::SameTailElt >::__push_back_slow_pathllvm::BranchFolder::SameTailElt(llvm::BranchFolder::SameTailElt&&) + 9666
7 llc 0x000000010b3941f3 std::__1::__tree<unsigned short, std::__1::less
- Running pass 'Function Pass Manager' on module 'bug.ll'.
- 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
fixed in 235889