commit | 24e9ee44a8a58ae4b23a2508ca331ebf001972e2 | [log] [tgz] |
---|---|---|
author | Peter Klausler <pklausler@nvidia.com> | Wed Sep 10 13:13:36 2025 -0700 |
committer | GitHub <noreply@github.com> | Wed Sep 10 13:13:36 2025 -0700 |
tree | 88b9962f743ef9fd6384a9bcfb4b178d2aa834f6 | |
parent | 3af202abf88882e05d6c1e9aa8d7a471c2af9d64 [diff] |
[flang] Improve contiguity checker for component references (#153222) Component references to array values had a couple of TODOs in the contiguity checker; implement them so that contiguity errors/warnings and code generation are more accurate. Specifically, "a(1:1)%b" is contiguous because there's a single element; "a(1:2)%b" is contiguous when the type of "a" has but a single component. The case of multiple components in the type is discontiguous when the array is known to have multiple elements.
Welcome to the LLVM project!
This repository contains the source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and run-time environments.
The LLVM project has multiple components. The core of the project is itself called “LLVM”. This contains all of the tools, libraries, and header files needed to process intermediate representations and convert them into object files. Tools include an assembler, disassembler, bitcode analyzer, and bitcode optimizer.
C-like languages use the Clang frontend. This component compiles C, C++, Objective-C, and Objective-C++ code into LLVM bitcode -- and from there into object files, using LLVM.
Other components include: the libc++ C++ standard library, the LLD linker, and more.
Consult the Getting Started with LLVM page for information on building and running LLVM.
For information on how to contribute to the LLVM project, please take a look at the Contributing to LLVM guide.
Join the LLVM Discourse forums, Discord chat, LLVM Office Hours or Regular sync-ups.
The LLVM project has adopted a code of conduct for participants to all modes of communication within the project.