systems-nuts / unifico

Compiler and build harness for heterogeneous-ISA binaries with the same stack layout.
3 stars 1 forks source link

BT compilation error with the two-address format of madd #297

Closed blackgeorge-boom closed 10 months ago

blackgeorge-boom commented 10 months ago
/home/blackgeorge/llvm-9/toolchain/bin/llc -disable-block-align --mc-relax-all -aarch64-csr-alignment=8 -align-bytes-to-four -reg-scavenging-slot -align-objects-to-four -enable-misched=false -pack-indexes -function-sections -data-sections -relocation-model=pic --trap-unreachable -optimize-regalloc -fast-isel=false -disable-machine-cse -march=aarch64 -filetype=obj -o c_print_results_aarch64_init.o c_print_results_opt.ll 

unimplemented reg-to-reg copy
UNREACHABLE executed at /home/blackgeorge/llvm-project/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp:2727!
Stack dump:
0.      Program arguments: /home/blackgeorge/llvm-9/toolchain/bin/llc -disable-block-align --mc-relax-all -aarch64-csr-alignment=8 -align-bytes-to-four -reg-scavenging-slot -align-objects-to-four -enable-misched=false -pack-indexes -function-sections -data-sections -relocation-model=pic --trap-unreachable -optimize-regalloc -fast-isel=false -disable-machine-cse -march=aarch64 -filetype=obj -o c_print_results_aarch64_init.o c_print_results_opt.ll 
1.      Running pass 'Function Pass Manager' on module 'c_print_results_opt.ll'.
2.      Running pass 'Post-RA pseudo instruction expansion pass' on function '@c_print_results'
/home/blackgeorge/llvm-9/toolchain/bin/llc(_ZN4llvm3sys15PrintStackTraceERNS_11raw_ostreamE+0x37)[0x563202e83453]
/home/blackgeorge/llvm-9/toolchain/bin/llc(+0x2d524ea)[0x563202e834ea]
/home/blackgeorge/llvm-9/toolchain/bin/llc(_ZN4llvm3sys17RunSignalHandlersEv+0x92)[0x563202e81384]
/home/blackgeorge/llvm-9/toolchain/bin/llc(+0x2d51ddd)[0x563202e82ddd]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x153c0)[0x7fe3d31233c0]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb)[0x7fe3d2bc318b]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x12b)[0x7fe3d2ba2859]
/home/blackgeorge/llvm-9/toolchain/bin/llc(+0x2cc2e2f)[0x563202df3e2f]
/home/blackgeorge/llvm-9/toolchain/bin/llc(_ZNK4llvm16AArch64InstrInfo11copyPhysRegERNS_17MachineBasicBlockENS_26MachineInstrBundleIteratorINS_12MachineInstrELb0EEERKNS_8DebugLocEjjb+0x1799)[0x563201886801]
/home/blackgeorge/llvm-9/toolchain/bin/llc(+0x1e027fa)[0x563201f337fa]
/home/blackgeorge/llvm-9/toolchain/bin/llc(+0x1e02b40)[0x563201f33b40]
/home/blackgeorge/llvm-9/toolchain/bin/llc(_ZN4llvm19MachineFunctionPass13runOnFunctionERNS_8FunctionE+0x213)[0x56320209c301]
/home/blackgeorge/llvm-9/toolchain/bin/llc(_ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE+0x2c2)[0x5632025d3404]
/home/blackgeorge/llvm-9/toolchain/bin/llc(_ZN4llvm13FPPassManager11runOnModuleERNS_6ModuleE+0xd9)[0x5632025d3715]
/home/blackgeorge/llvm-9/toolchain/bin/llc(+0x24a2b9d)[0x5632025d3b9d]
/home/blackgeorge/llvm-9/toolchain/bin/llc(_ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE+0x112)[0x5632025d43b6]
/home/blackgeorge/llvm-9/toolchain/bin/llc(_ZN4llvm6legacy11PassManager3runERNS_6ModuleE+0x2b)[0x5632025d45c1]
/home/blackgeorge/llvm-9/toolchain/bin/llc(+0x121e66c)[0x56320134f66c]
/home/blackgeorge/llvm-9/toolchain/bin/llc(main+0x580)[0x56320134dc85]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7fe3d2ba40b3]
/home/blackgeorge/llvm-9/toolchain/bin/llc(_start+0x2e)[0x56320134be0e]