public
Created

LLVM/PTX Error from unsupported LLVM code

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
unexpected address space
UNREACHABLE executed at /usr/local/src/llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp:1257!
0 llc 0x000000010a169a72 void* llvm::object_creator<std::vector<std::string, std::allocator<std::string> > >() + 10722
1 llc 0x000000010a16a029 void* llvm::object_creator<std::vector<std::string, std::allocator<std::string> > >() + 12185
2 libsystem_c.dylib 0x00007fff89c728ea _sigtramp + 26
3 libsystem_c.dylib 0x00007fbcd1c05130 _sigtramp + 18446743787154253920
4 llc 0x000000010a169cc6 void* llvm::object_creator<std::vector<std::string, std::allocator<std::string> > >() + 11318
5 llc 0x000000010a158eb2 void* llvm::object_creator<std::vector<char const*, std::allocator<char const*> > >() + 49634
6 llc 0x0000000109819436 llvm::Pass* llvm::callDefaultCtor<llvm::NVPTXAllocaHoisting>() + 161766
7 llc 0x0000000109818487 llvm::Pass* llvm::callDefaultCtor<llvm::NVPTXAllocaHoisting>() + 157751
8 llc 0x0000000109817330 llvm::Pass* llvm::callDefaultCtor<llvm::NVPTXAllocaHoisting>() + 153312
9 llc 0x000000010a1075a0 std::vector<llvm::Type*, std::allocator<llvm::Type*> >::_M_insert_aux(__gnu_cxx::__normal_iterator<llvm::Type**, std::vector<llvm::Type*, std::allocator<llvm::Type*> > >, llvm::Type* const&) + 26896
10 llc 0x000000010a107c6f std::vector<llvm::Type*, std::allocator<llvm::Type*> >::_M_insert_aux(__gnu_cxx::__normal_iterator<llvm::Type**, std::vector<llvm::Type*, std::allocator<llvm::Type*> > >, llvm::Type* const&) + 28639
11 llc 0x000000010a107dd6 std::vector<llvm::Type*, std::allocator<llvm::Type*> >::_M_insert_aux(__gnu_cxx::__normal_iterator<llvm::Type**, std::vector<llvm::Type*, std::allocator<llvm::Type*> > >, llvm::Type* const&) + 28998
12 llc 0x000000010a108392 std::vector<llvm::Type*, std::allocator<llvm::Type*> >::_M_insert_aux(__gnu_cxx::__normal_iterator<llvm::Type**, std::vector<llvm::Type*, std::allocator<llvm::Type*> > >, llvm::Type* const&) + 30466
13 llc 0x000000010a10857d std::vector<llvm::Type*, std::allocator<llvm::Type*> >::_M_insert_aux(__gnu_cxx::__normal_iterator<llvm::Type**, std::vector<llvm::Type*, std::allocator<llvm::Type*> > >, llvm::Type* const&) + 30957
14 llc 0x00000001097618bd
15 llc 0x0000000109760334
Stack dump:
0. Program arguments: llc -march=nvptx -mcpu=sm_13 trivial-kernel.ll -o trivial-kernel.ptx
1. Running pass 'Function Pass Manager' on module 'trivial-kernel.ll'.
Illegal instruction: 4

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.