|
|
Log in / Subscribe / Register

An LLVM backend for Sparse

An LLVM backend for Sparse

Posted Aug 29, 2011 20:35 UTC (Mon) by penberg (guest, #30234)
In reply to: An LLVM backend for Sparse by daglwn
Parent article: An LLVM backend for Sparse

You keep bringing up Clang but fail to acknowledge that it's actually not quite there yet for us Linux developers:

http://llvm.org/bugs/show_bug.cgi?id=4068

You also mention duplication without realizing that the Sparse/LLVM backend is just 705 lines of C code! Yes, it will grow over time but it's unlikely to ever be as big as the parser which is 25 KLOC - and that's where the real "duplication" is.

I'm sure Clang will be eventually mature enough to build the Linux kernel but Sparse/LLVM might get there first because Sparse is already able to parse the whole kernel. And who knows, maybe Clang is able to reuse Sparse code (or ideas) in the future.

So I still think you're just confused and are shouting 'NIH' because you don't understand the underlying issues.


The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:

Note: you can avoid this step in the future by logging into your LWN account.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds