4 ms·
If you're working at the IR level, then there's usually pretty good documentation in terms of the doxygen and various pages explaining things. But if you start
by krackers 7y ago
If you're working at the IR level, then there's usually pretty good documentation in terms of the doxygen and various pages explaining things.
But if you start venturing down into the backend, a lot of gotchas are never documented anywhere, just somehow learned through osmosis from another backend author or looking up code snippets from another implemented backend.
- vnorilo 7y agoSure; the article was about building compilers rather than backends. FWIW I looked briefly into building a LLVM backend (IR subset) for a DSP chip, and gave up partly for the reasons you mentioned.