LLVM Clang 12 Performance Benchmarks On AMD Ryzen 9 5950X

Written by Michael Larabel in Software on 19 February 2021 at 11:00 AM EST. Page 2 of 2. 2 Comments.
Ryzen 9 5950X LLVM Clang 12 Benchmarks

Compile times are comparable with Clang 12, even with new optimization passes and other features continuing to be added.

Ryzen 9 5950X LLVM Clang 12 Benchmarks

With the AOBench renderer there were some small improvements for the runs involving the -march=native targeting.

Ryzen 9 5950X LLVM Clang 12 Benchmarks
Ryzen 9 5950X LLVM Clang 12 Benchmarks
Ryzen 9 5950X LLVM Clang 12 Benchmarks

But with the vast majority of the tests, there wasn't much change to find out of LLVM Clang 12 with the C/C++ benchmarks run on the Ryzen 9 5950X with its initial Zen 3 support.

Ryzen 9 5950X LLVM Clang 12 Benchmarks

Of the benchmarks carried out, dav1d was the main winner of Clang 12 when being built with -march=native settings. At least there haven't been any major regressions found in my Clang 12 benchmarking thus far. It's also not too surprising the lack of major optimizations considering how mature LLVM/Clang 12 is at this point on the x86_64 front and often competing neck-and-neck with GCC -- stay tuned for a very interesting GCC 11 vs. Clang 12 showdown this spring. With the new Znver3 support in LLVM 12 not including any optimized scheduler model or other optimizations beyond the basic enablement work that landed prior to the feature freeze, the lack of uplift isn't that surprising.

If you enjoyed this article consider joining Phoronix Premium to view this site ad-free, multi-page articles on a single page, and other benefits. PayPal or Stripe tips are also graciously accepted. Thanks for your support.


Related Articles
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.