Is it easier to make an LLVM back-end or an LLVM IR parser for a VM?

by Nergal   Last Updated August 01, 2018 00:05 AM - source

I made a VM that has a generic (enough) ISA and I need a compiler system to target it.

Is it easier and more efficient in the end to simply make an LLVM Backend that targets my VM's asm language (or directly make VM bytecode) or create an LLVM IR parser to generate my VM's asm language?

Related Questions

GCC or Clang to output bytecode for a VM?

Updated January 13, 2019 03:05 AM

Which compiler back end to use?

Updated July 11, 2018 15:05 PM

Generating assembly in compilers

Updated March 26, 2018 17:05 PM