|
|
|
|
|
by mewmew
3288 days ago
|
|
@krasin The LLVM IR assembly language does change with a rather high rate. Not too often to be unfeasible, but an external project definitely needs to make sure it can keep up with maintenance to remain useful. Since the llir/llvm project started back in 2014, the LLVM IR assembly language has had one major change, and that is the new metadata syntax introduced in LLVM 3.6. To facilitate maintenance efforts over time, a BNF grammar for LLVM IR assembly has been written, from which the lexer and parser are generated [1,2,3]. The intention is for this BNF grammar to eventually become the basis or starting ground for an official BNF grammar of the LLVM IR assembly language (but that's a different project altogether, and a huge effort in itself). [1]: https://github.com/llir/llvm/blob/master/asm/internal/ll.bnf [2]: https://github.com/llir/grammar [3]: https://github.com/goccmack/gocc |
|
Merged modules were a major change to LLVM. And this part is still evolving. Like, the last breaking change was 16 days ago: https://github.com/llvm-mirror/llvm/commit/e74c64e05ab257c37...