Re:GCC-Rust: Rust frontend for GCC
by chungy on Sunday December 08, 2019 @04:43AM
(#21735113)
I've been under the impression that GCC still has much better hardware optimizations than LLVM has.
[ Parent
| on HN ]
> 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.