Qwert Nerdish via Gcc-help <gcc-help@xxxxxxxxxxx> writes: > Clang can emit LLVM bitcode via -emit-llvm. llvmgcc replaces RTL with LLVM > IR instead, but this is not what i'm looking for. This could written as ( > https://gcc.gnu.org/onlinedocs/gccint/Back-End.html) backend, where GCC > compiles RTL down to LLVM IR using assembly file as output. I'm only aware of: * https://github.com/Lancern/mlir-gccjit (MLIR->GIMPLE) * https://github.com/jeremy-rifkin/wyrm (GIMPLE->LLVM IR) I think someone was playing around on our wiki with LLVM IR -> GENERIC but I don't think that's an established effort or anything (and not sure it's a good idea, but fun is fun).