|
|
Subscribe / Log in / New account

LLVM 2.8 is available

LLVM 2.8 is available

Posted Oct 12, 2010 11:32 UTC (Tue) by PaXTeam (guest, #24616)
In reply to: LLVM 2.8 is available by cyrus
Parent article: LLVM 2.8 is available

as of yesterday, i've got a working (=boots into X) amd64 kernel (2.6.35.7) by only patching a hundred lines or so in linux itself (for either linux or clang bugs).


to post comments

LLVM 2.8 is available

Posted Oct 12, 2010 16:09 UTC (Tue) by bronson (subscriber, #4806) [Link] (1 responses)

Very cool! Have you formed a gut feeling for performance? Either compile time or generated code?

Just curious about real-world experiences.

LLVM 2.8 is available

Posted Oct 12, 2010 17:17 UTC (Tue) by PaXTeam (guest, #24616) [Link]

> Have you formed a gut feeling for performance? Either compile time or generated code?

i haven't had time for benchmarks (and i don't actually know what would exercise various kernel subsystems/paths well enough, kernel compilation isn't exactly it ;) but based on the generated code and overall code size, clang generates about 3% fatter code than gcc (at least with -Os, i didn't try -O2). as for compile time, i only tested llvm 2.7 last spring and the times for compiling the same kernel/.config were something like this: gcc 4.4.x: 20 mins, llvm-gcc: 18 mins, clang: 16 mins.


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