Hi All, When I approach the class `CodeGenC` in `src/target/source/codegen_c.h` I notice it could not generate native C code as it is noted.
> CodeGenC does not aim at generating C codes consumed by MSVC or GCC, Rather, > it's providing infrastructural abstraction for C variants like CUDA and > OpenCL-C. You might find some odd variant features, e.g., type `int3` for a > vector of 3 `int`s. For native C code generator, see `CodeGenLLVM`. I've already read the class `CodeGenLLVM` but failed to get any information about C code generator. Question "[Possible to convert a LLVM IR back to C code?](https://discuss.tvm.apache.org/t/possible-to-convert-a-llvm-ir-back-to-c-code/6625)" from @joyalbin got some answers. Does it mean native C code could only be generated by a LLVM backend which has been moved? But @comaniac suggests to directly generate C code from TVM IR. Does it mean `CodeGenC` or another way in `CodeGenLLVM` ? Thanks. --- [Visit Topic](https://discuss.tvm.apache.org/t/generate-native-c-code-from-tvm-ir/11792/1) to respond. You are receiving this because you enabled mailing list mode. To unsubscribe from these emails, [click here](https://discuss.tvm.apache.org/email/unsubscribe/1961f0ab3be19fa5e0f881dbef3b8b3981494ee397fef406ff651777bf9c1038).