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
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.
