LLVM's Fortran Compiler "Flang" Makes Significant Progress But Not Yet Production Ready

Written by Michael Larabel in LLVM on 10 February 2023 at 04:17 PM EST. 9 Comments
LLVM
Being worked on actively by a number of stakeholders in recent years has been Flang as a Fortran language front-end to the LLVM compiler stack. While not yet ready for general use, Flang has been making strides as well as showing some promising performance results.

Arm has been among the leading vendors investing engineering resources on Flang. At last weekend's FOSDEM conference in Brussels, Arm engineer Kiran Chandramohan presented on recent progress around this LLVM Fortran compiler option.

Arm Flang presentation


Flang can produce working executables but isn't yet deemed ready for production-use, Fortran 95 support is mostly in place, Fortran 2003 and newer features are a work-in-progress, and testing of the Flang support continues to take place across a variety of Fortran software.

Arm Flang presentation


Going off SPEC 2017 numbers, the Flang performance is looking quite good compared to the prior Flang implementation and compared to what GCC offers with its GFortran front-end.

The video recording of Kiran's presentation isn't yet uploaded but for those interested there is this PDF slide deck from the FOSDEM 2023 presentation with the current state of Flang.
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