Hacker News new | past | comments | ask | show | jobs | submit login

> I've been under the impression that GCC still has much better hardware optimizations than LLVM has.

That is my experience too.

GCC for code with high level of nesting, meaning high potential for inlining (typically C++), is close to unbeatable. Including even compared Highly optimised compilers like Intel ICC.




LLVM developers are aware of this and they are working on a new inliner specifically to address this.


It has not been mine. IME gcc can do slightly better than clang, sometimes, but it's generally a wash.


Google found GCC to be faster than Clang for their code, that's why they are rewriting LLVM inliner.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: