| commit | 9a659fac2f40754dcef273f0ee4bb3352e4a6ee9 | [log] [tgz] |
|---|---|---|
| author | jeanPerier <jperier@nvidia.com> | Tue Mar 04 17:52:05 2025 +0100 |
| committer | GitHub <noreply@github.com> | Tue Mar 04 17:52:05 2025 +0100 |
| tree | faeb7f0caf586d1f60f08d41b7bc47458d3434d8 | |
| parent | 17f0aaac57d006cb1aef09be8eaf2bbdd6f5d0b6 [diff] |
[flang] fix MAXVAL(x%array_comp_with_custom_lower_bounds) (#129684) The HLFIR inlining of MAXVAL kicks in at O1 and more when the argument is an array component reference but the implementation did not account for the rare cases where the array components have non default lower bounds. This patch fixes the issue by using `getElementAt` to compute the element address. Rename `indices` to `oneBasedIndices` for more clarity.
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.