commit | 5e6f00939f868c8dbeeb9facb36b9d9028b03693 | [log] [tgz] |
---|---|---|
author | Sergio Afonso <safonsof@amd.com> | Fri Apr 19 16:13:10 2024 +0100 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Apr 19 08:18:17 2024 -0700 |
tree | 6ca8774d5744a1e03ade5a6837a9dc66aa3f99cf | |
parent | bdd6d2867126a51093a7a01e2a5f535aa71c128b [diff] |
[Flang][OpenMP] NFC: Simplify handling of insertion points (#89221) This patch replaces some `saveInsertionPoint`, `restoreInsertionPoint` call pairs for an `InsertionGuard` instance where it makes sense within Flang OpenMP lowering to make further modifications less error-prone. GitOrigin-RevId: 9dbf3e2384e450c2b4f282b85b9ec47c65976194
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.
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.