[LLVMdev] Wiki?

Tomas Lindquist Olsen tomas.l.olsen at gmail.com
Wed Mar 11 05:06:53 PDT 2009


On Wed, Mar 11, 2009 at 9:22 AM, someguy
<just.s0m3.guy+llvmdev at gmail.com> wrote:
> Hi all,
>
> I'm pretty new to LLVM and am slowly learning the code-base and
> architecture, mostly as a result of my efforts to implement a target
> backend.
>
> There are a number of resources (read: documents) available which deal
> with some parts of backend development (and LLVM development in
> general), but sadly they are not at all comprehensive.
>
> I'd like to propose that a wiki be made available so that people who
> work out how to do stuff can document their findings. I'd like to see
> sections devoted to frontend, backend and misc. pass implementation,
> with both explanations of how LLVM works under the hood, and 'recipes'
> for common tasks/issues.

 ..

>
> Thoughts?
>

I think it's a great idea, and I'm sure I can find some things to add as well.
We've had to go in and read the source code to LLVM many times during
the development of LDC (the D compiler), and lots of this have been
fairly simple stuff, where a few notes in a wiki could have saved us
time. It all adds up.

Especially one feature of LLVM that's extremely underdocumented,
inline assembler, has been very important for LDC, which needs inline
asm as it is part of the language specification. I've tried writing a
document proposal before but I didn't really find the time, and there
was still a lot of things I didn't (and don't) know how worked, so it
never got done. I can easily imagining starting a small wiki page to
collect some reference information though.

Cheers
-Tomas



More information about the llvm-dev mailing list