llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

[AVX512] argument #&#8203;2 has unhandled type v16i1 error with <16 x i1> function argument

Open llvmbot opened this issue 12 years ago • 1 comments

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, std::__1::allocator >::destroy(std::__1::__tree_node<unsigned short, void*>) + 89203 8 llc 0x000000010b5e2219 std::__1::__tree<std::__1::__value_type<llvm::SDNode const, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > >, std::__1::__map_value_compare<llvm::SDNode const*, std::__1::__value_type<llvm::SDNode const*, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > >, 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, std::__1::allocator > > > >::destroy(std::__1::__tree_node<std::__1::__value_type<llvm::SDNode const*, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > >, void*>) + 236009 9 llc 0x000000010b5f315a void std::__1::vector<llvm::GCRoot, std::__1::allocatorllvm::GCRoot >::__push_back_slow_pathllvm::GCRoot(llvm::GCRoot&&) + 33082 10 llc 0x000000010b5f023a void std::__1::vector<llvm::GCRoot, std::__1::allocatorllvm::GCRoot >::__push_back_slow_pathllvm::GCRoot(llvm::GCRoot&&) + 21018 11 llc 0x000000010b37e689 std::__1::__tree<unsigned short, std::__1::less, std::__1::allocator >::destroy(std::__1::__tree_node<unsigned short, void>) + 265 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 >() + 26189 14 llc 0x000000010bb9722b void* llvm::object_creator<llvm::LeakDetectorImpl >() + 26843 15 llc 0x000000010bb9785c void* llvm::object_creator<llvm::LeakDetectorImpl >() + 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

llvmbot avatar Aug 15 '14 01:08 llvmbot

fixed in 235889

delena avatar Apr 27 '15 17:04 delena