[llvm-dev] I want to update WritingAnLLVMBackend document

David Chisnall via llvm-dev llvm-dev at lists.llvm.org
Mon May 8 05:33:00 PDT 2017


On 3 May 2017, at 13:36, 陳韋任 via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> 
> ​Although contribution always welcome, personally I prefer making the document as consistent as possible.
> I don't know if it's a good idea interleaving different backend implementation​s​ in ​one​ document.

I believe that this is a necessary evil.  I don’t think that we have a single back end that uses all of the target-agnostic codegen features, or hits all of the important corner cases of back-end development, and so a good document would necessarily cover multiple cases.

That said, I’m not sure that AVR is sufficiently different from SPARC that it makes a good example here.

David



More information about the llvm-dev mailing list