Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Core dump when compiling mesa.api.glVertex2i.ll with -unison flag #43

Open
romits800 opened this issue Jan 4, 2020 · 0 comments
Open

Comments

@romits800
Copy link
Contributor

I get the following error when compiling the mesa.api.glVertex2i.ll benchmark (taken from the test folder of unison):

$ llc mesa.api.glVertex2i.ll -O2 -march=mips -mcpu=mips32 -unison
Pseudo opcode found in EmitInstruction()
UNREACHABLE executed at /home/romi/didaktoriko/unison/llvm/lib/Target/Mips/MipsAsmPrinter.cpp:202!
#0 0x0000000001bf4677 llvm::sys::PrintStackTrace(llvm::raw_ostream&) (/usr/local/bin/llc+0x1bf4677)
#1 0x0000000001bf49cf PrintStackTraceSignalHandler(void*) (/usr/local/bin/llc+0x1bf49cf)
#2 0x0000000001bf2e15 llvm::sys::RunSignalHandlers() (/usr/local/bin/llc+0x1bf2e15)
#3 0x0000000001bf3fbe SignalHandler(int) (/usr/local/bin/llc+0x1bf3fbe)
#4 0x00007f16e4238390 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x11390)
#5 0x00007f16e33d7428 gsignal /build/glibc-LK5gWL/glibc-2.23/signal/../sysdeps/unix/sysv/linux/raise.c:54:0
#6 0x00007f16e33d902a abort /build/glibc-LK5gWL/glibc-2.23/stdlib/abort.c:91:0
#7 0x0000000001b8bcfc bindingsErrorHandler(void*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) (/usr/local/bin/llc+0x1b8bcfc)
#8 0x0000000000b7c394 llvm::MipsAsmPrinter::EmitInstruction(llvm::MachineInstr const*) (/usr/local/bin/llc+0xb7c394)
#9 0x00000000011ca250 llvm::AsmPrinter::EmitFunctionBody() (/usr/local/bin/llc+0x11ca250)
#10 0x0000000000b77db3 llvm::AsmPrinter::runOnMachineFunction(llvm::MachineFunction&) (/usr/local/bin/llc+0xb77db3)
#11 0x0000000000b7843c llvm::MipsAsmPrinter::runOnMachineFunction(llvm::MachineFunction&) (/usr/local/bin/llc+0xb7843c)
#12 0x00000000013976f5 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (/usr/local/bin/llc+0x13976f5)
#13 0x00000000017bb226 llvm::FPPassManager::runOnFunction(llvm::Function&) (/usr/local/bin/llc+0x17bb226)
#14 0x00000000017bb3bf llvm::FPPassManager::runOnModule(llvm::Module&) (/usr/local/bin/llc+0x17bb3bf)
#15 0x00000000017bb73a (anonymous namespace)::MPPassManager::runOnModule(llvm::Module&) (/usr/local/bin/llc+0x17bb73a)
#16 0x00000000017bbe6b llvm::legacy::PassManagerImpl::run(llvm::Module&) (/usr/local/bin/llc+0x17bbe6b)
#17 0x00000000017bc077 llvm::legacy::PassManager::run(llvm::Module&) (/usr/local/bin/llc+0x17bc077)
#18 0x0000000000b5684e compileModule(char**, llvm::LLVMContext&) (/usr/local/bin/llc+0xb5684e)
#19 0x0000000000b5537a main (/usr/local/bin/llc+0xb5537a)
#20 0x00007f16e33c2830 __libc_start_main /build/glibc-LK5gWL/glibc-2.23/csu/../csu/libc-start.c:325:0
#21 0x0000000000b51219 _start (/usr/local/bin/llc+0xb51219)
Stack dump:
0.	Program arguments: llc mesa.api.glVertex2i.ll -O2 -march=mips -mcpu=mips32 -unison 
1.	Running pass 'Function Pass Manager' on module 'mesa.api.glVertex2i.ll'.
2.	Running pass 'Mips Assembly Printer' on function '@glVertex2i'
Aborted (core dumped)

mesa-issue.tar.gz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant