Is there any way to convert the llvm IR to c code and keep its semantics?
For example, can we compile the c code first to llvm IR and then compile it back to another piece of c code. I don’t expect that these two files will be the same. But they need to have the same functionality.
Thanks
Is there any way to convert the llvm IR to c code and keep
Share
You can use the C backend, with
llc -march=c