Open JL2210 opened 5 years ago
Extra info: https://stackoverflow.com/questions/31960290/using-the-llvm-linker-to-produce-c-code
$ clang++ -S -emit-llvm -o bytecode.ll tiny.cpp --- snip --- $ llc -march=c -o code.c bytecode.ll llc: error: error: invalid target 'c'.
The C backend for LLVM was removed in 3.1.
https://github.com/JuliaComputing/llvm-cbe
Extra info: https://stackoverflow.com/questions/31960290/using-the-llvm-linker-to-produce-c-code
The C backend for LLVM was removed in 3.1.