| commit | c4138a24dc254783697f512f053e794fb1c68f88 | [log] [tgz] |
|---|---|---|
| author | Vijay Kandiah <vkandiah@nvidia.com> | Wed Jul 09 15:47:11 2025 -0500 |
| committer | GitHub <noreply@github.com> | Wed Jul 09 15:47:11 2025 -0500 |
| tree | 36134526b0267ba48accf23a989605a7f8fc6182 | |
| parent | 2197671109815ed42661fadf5d38f9e510d310c6 [diff] |
[mlir][acc][flang] Lower nested ACC loops with tile clause as collapsed loops (#147801) In the case of nested loops, `acc.loop` is meant to subsume all of the loops that it applies to (when explicitly described as doing so in the OpenACC specification). So when there is a `acc loop tile(...)` present on nested Fortran DO loops, `acc.loop` should apply to the `n` loops that `tile` applies to. This change lowers such nested Fortran loops with tile clause into a collapsed `acc.loop` with `n` IVs, loop bounds, and step, in a similar fashion to the current lowering for acc loops with `collapse` clause.
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.