LLVM Clang RISC-V Now Supports LTO

Written by Michael Larabel in LLVM on 16 October 2019 at 05:58 AM EDT. Add A Comment
LLVM
With the recent release of LLVM 9.0 the RISC-V back-end was promoted from an experimental CPU back-end to being made "official" for this royalty-free CPU ISA. Work though isn't over on the LLVM RISC-V support with new features continuing to land, like link-time optimizations (LTO) most recently being enabled within the Clang 10 code.

Within the latest Clang code this week, LTO (link-time optimizations) are now enabled for Clang targeting RISC-V. LTO, of course, is important for performance with being able to exploit more performance optimizations by the compiler at link-time.

While we aren't able to test for lack of RISC-V hardware available, LTO optimizations generally can provide meaningful improvements for large code-bases. This improvement and other RISC-V work will be part of the LLVM/Clang 10.0 release due out in early 2020.
Related News
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.

Popular News This Week