Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

F18 (now Flang) upstreamed #16

Closed
jakirkham opened this issue Apr 21, 2020 · 8 comments
Closed

F18 (now Flang) upstreamed #16

jakirkham opened this issue Apr 21, 2020 · 8 comments

Comments

@jakirkham
Copy link
Member

jakirkham commented Apr 21, 2020

FWIW Flang entered LLVM mainline ( https://github.com/llvm/llvm-project/tree/main/flang/ ). Guessing it will be available in LLVM 11.0.

@isuruf
Copy link
Member

isuruf commented Apr 29, 2020

Not useful at the moment as it is only a parser at the moment and code generation is a wip.

@jakirkham
Copy link
Member Author

Sounds like this is now available in LLVM 11.0.

@h-vetinari
Copy link
Member

The very first bits of code generation made it for LLVM 14, but realistically nothing usable before LLVM 15.

@jakirkham
Copy link
Member Author

There were a couple talks at a recent LLVM Developer Meeting. Not exactly sure when the slides/videos will be available. Maybe in a couple weeks?

In particular this one:

How to write a new compiler driver? The LLVM Flang perspective.
Andrzej Warzynski, Arm

When LLVM Flang (then "F18") was merged into LLVM as a sub-project in 2020, it had no compiler driver. Two years later, Flang enjoys a driver that integrates all components of the Flang sub-project, can generate executables and that shares the driver logic with Clang. In this presentation I will walk you through our journey.

Also this one:

Flang update
Kiran Chandramohan, Arm

F18/Flang was accepted as the Fortran frontend of LLVM in 2019. The project joined the monorepo in 2020. Development of a large chunk of code dealing with the lowering of the parse-tree to FIR (Fortran IR) continued in a fork of the llvm-project. In the last year, a significant effort went in to upstreaming this fork. Most of this code is upstreamed and all development has shifted to the llvm-project monorepo. Much development effort has also gone into adding a runtime and lowering for Fortran 95. In parallel, great progress has been achieved on adding a driver, support for OpenMP 1.1+ and OpenACC. In this talk, I will summarize the developmental activities for the last year, the current status and future work.

@h-vetinari
Copy link
Member

The first rc of LLVM 15 just dropped. I'll probably need a couple bits and pieces in place first, but I'd like to build the rc's of LLVM flang on this feedstock. Could someone create an rc branch for me to target, please? Also happy to join as maintainer and do it myself, if that's preferred.

@jakirkham
Copy link
Member Author

Given LLVM 15 has since come out, maybe this is easier to explore

@h-vetinari
Copy link
Member

We've got first builds of flang 17 as of #28 now.

@h-vetinari
Copy link
Member

Closing this one as completed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants