| commit | 716fe1cbd9496564ac3588069846a52b8539df65 | [log] [tgz] |
|---|---|---|
| author | agozillon <Andrew.Gozillon@amd.com> | Sat Oct 04 03:12:21 2025 +0200 |
| committer | GitHub <noreply@github.com> | Sat Oct 04 03:12:21 2025 +0200 |
| tree | 4c3133b62d733b6653bd83fa116b0beb2db9463d | |
| parent | 0b543e39351a72f65521522fbe9f3622abc00b47 [diff] |
[Flang][OpenMP] Fix negative array indexing with allocatable derived type array maps (#154193) The main problem is that the previous intermediate map generation for allocatable members wasn't quite handling negative bounds acccesses correctly, it seems to require slightly more complicated access using shape_shift/dimension information. So this more closely mimics what Flang generates in other cases now. There is still a path for non-Box types to go down the old route for the moment, so it is possible we may still have issues with negative bounds in these cases. But, that's better in another PR if we come across it, instead of too much change in this one.
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.