# LLVM Fortran Levels Up: Goodbye flang-new, Hello flang!

DevFeed: [LLVM Fortran Levels Up: Goodbye flang-new, Hello flang!](<https://devfeed.tech/articles/llvm-fortran-levels-up-goodbye-flang-new-hello-flang-43113.md>)

Original publisher: [Read original article](<https://blog.llvm.org/posts/2025-03-11-flang-new/>)

Author: David Spickett

Published: 2025-03-11T00:00:00Z

Content type: article

Language: en

Sources: [LLVM Project](<https://devfeed.tech/sources/the-llvm-project-blog.md>)

Topics: [Fortran](<https://devfeed.tech/topics/fortran.md>), [Compiler](<https://devfeed.tech/topics/compiler.md>), [LLVM](<https://devfeed.tech/topics/llvm.md>), [mlir](<https://devfeed.tech/topics/mlir.md>), [High-Performance Computing](<https://devfeed.tech/topics/high-performance-computing.md>), [Computing](<https://devfeed.tech/topics/computing.md>)

Tags: [assembly](<https://devfeed.tech/tags/assembly.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [compilers](<https://devfeed.tech/tags/compilers.md>), [computing](<https://devfeed.tech/tags/computing.md>), [flang](<https://devfeed.tech/tags/flang.md>), [high-performance-computing](<https://devfeed.tech/tags/high-performance-computing.md>), [llvm](<https://devfeed.tech/tags/llvm.md>), [mlir](<https://devfeed.tech/tags/mlir.md>), [open-source](<https://devfeed.tech/tags/open-source.md>)

## AI overview

This article describes Flang, LLVM's Fortran compiler, including its transition from flang-new to flang in LLVM 20. It reviews the compiler's development, adoption of MLIR, history, and role in high-performance and scientific computing.

## Source excerpt

LLVM has included a Fortran compiler "Flang" since LLVM 11 in late 2020. However,until recently the Flang binary was not flang (like clang) but insteadflang-new. LLVM 20 ends the era of flang-new. The community has decided that Flang isworthy of a new name. The "new" name? You guessed it, flang. A simple change that represents a major milestone for Flang. This article will cover the almost 10 year journey of Flang. The firstconcepts, multiple rewrites, the adoption of LLVM's Multi Level IntermediateRepresentation (MLIR) and Flang entering the LLVM Project. If you want to try flang right now, you candownloadit or try it in your browser usingCompiler Explorer. Why Fortran? Fortran was first created in the 1950s, and the name came from "Formula Translation".Fortran focused on the mathematics use case and freed programmers from writingassembly code that could only run on specific machines. Instead they could write code that looked like a formula. You expect this todaybut for the time it was a revolution. This feature led to heavy use in scientificcomputing: weather modelling, fluid dynamics and computational chemistry, justto name a few. Whilst many alternative programming languages have comeand gone, it [Fortran] has regained its popularity for writing highperformance codes. Indeed, over 80% of the applicationsrunning on ARCHER2, a 750,000 core Cray EX which isthe UK national supercomputer, are written in Fortran. Fortran High-Level Synthesis: Reducing the barriersto accelerating High Performance Computing (HPC) codes on FPGAs (Gabriel Rodriguez-Canal et al., 2023) Fortran has had a resurgencein recent years, gaining a package manager, an unofficialstandard library and LFortran,a compiler that supports interactive programming (LFortran also uses LLVM). For the full history of Fortran, IBM has an excellent articleon the topic and I encourage you to look at the"Programmer's Primer for Fortran"if you want to see the early form of Fortran. If you want to learn the language