mirror-llvm-project/flang
Jean-Didier PAILLEUX 307a11d7aa [Flang] Fix lowering failure for some constructs inside a CHANGE TEAM (#184342)
This PR is here to fix the `CHANGE_TEAM` construct if it contains an
IF/ELSE (construct with a body too) in its body, for example.

(cherry picked from commit 0625467c63)
2026-04-06 18:30:01 +00:00
..
cmake Reapply "[Flang] Remove FLANG_INCLUDE_RUNTIME (#124126)" 2025-04-30 12:32:49 +02:00
docs [flang] Update Flang Extension doc to reflect previous change (#188088) 2026-04-02 07:00:41 +00:00
examples [flang][OpenMP] Make OmpDependenceKind be a common enum, NFC (#172871) 2025-12-18 10:23:57 -06:00
include [Flang] Fix lowering failure for some constructs inside a CHANGE TEAM (#184342) 2026-04-06 18:30:01 +00:00
lib [Flang] Fix lowering failure for some constructs inside a CHANGE TEAM (#184342) 2026-04-06 18:30:01 +00:00
module Revert "[Flang] Move builtin .mod generation into runtimes (Reapply #137828) (#169638)" 2025-12-09 22:39:41 +01:00
test [Flang] Fix lowering failure for some constructs inside a CHANGE TEAM (#184342) 2026-04-06 18:30:01 +00:00
tools [flang][CUDA] Apply implicit managed attribute when -gpu=mem:managed is used. (#175648) 2026-01-13 02:07:29 +00:00
unittests [flang] Remove AmbiguousStructureConstructor warnings (#178088) 2026-01-29 08:49:39 +00:00
.clang-format
.clang-tidy
.drone.star
.gitignore
CMakeLists.txt [flang] Turn -Werror back off for Flang build (#175689) 2026-01-12 17:02:53 -08:00
LICENSE.TXT
Maintainers.md [flang] Add David Truby as maintainer for Flang on Windows (#142619) 2025-06-11 14:50:39 +01:00
README.md

Flang

Flang is a ground-up implementation of a Fortran front end written in modern C++. It started off as the f18 project (https://github.com/flang-compiler/f18) with an aim to replace the previous flang project (https://github.com/flang-compiler/flang) and address its various deficiencies. F18 was subsequently accepted into the LLVM project and rechristened as Flang.

Please note that flang is not ready yet for production usage.

Getting Started

Read more about flang in the docs directory. Start with the compiler overview.

To better understand Fortran as a language and the specific grammar accepted by flang, read Fortran For C Programmers and flang's specifications of the Fortran grammar and the OpenMP grammar.

Treatment of language extensions is covered in this document.

To understand the compilers handling of intrinsics, see the discussion of intrinsics.

To understand how a flang program communicates with libraries at runtime, see the discussion of runtime descriptors.

If you're interested in contributing to the compiler, read the style guide and also review how flang uses modern C++ features.

If you are interested in writing new documentation, follow LLVM's Markdown style guide.

Consult the Getting Started with Flang for information on building and running flang.