Open sai-deng opened 1 year ago
valida.patch.txt This attached patch fixes this particular issue, however I still run into other crash
vivek@vivek-System-Product-Name:~/dev$ ./valida-compiler/build/bin/llc fib.ll -march=valida --global-isel
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0. Program arguments: ./valida-compiler/build/bin/llc fib.ll -march=valida --global-isel
1. Running pass 'Function Pass Manager' on module 'fib.ll'.
2. Running pass 'InstructionSelect' on function '@fib'
#0 0x000055d9a2332d56 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (./valida-compiler/build/bin/llc+0x12dfd56)
#1 0x000055d9a23305be SignalHandler(int) Signals.cpp:0:0
#2 0x00007f9e3d642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#3 0x000055d9a13f3c65 (anonymous namespace)::ValidaInstructionSelector::selectStore(llvm::MachineInstr&) const ValidaInstructionSelector.cpp:0:0
#4 0x000055d9a13f59d5 (anonymous namespace)::ValidaInstructionSelector::select(llvm::MachineInstr&) ValidaInstructionSelector.cpp:0:0
Looks like selectStore is not working correctly.
./build/bin/llc fib.ll --march=valida --global-isel Pass 'IRTranslator' is not initialized. Verify if there is a pass dependency cycle. Required Passes: Insert stack protectors Target Pass Configuration PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. Stack dump:
When attempting to generate assembly using the llc tool for the valida target on a MacBook with an M2 chip, it results in a crash.