commit | 4782a4ab0ad43b2f47f20afbe025b841d7f0ac04 | [log] [tgz] |
---|---|---|
author | Joachim <jenke@itc.rwth-aachen.de> | Thu Jul 18 07:41:41 2024 +0200 |
committer | GitHub <noreply@github.com> | Thu Jul 18 07:41:41 2024 +0200 |
tree | 414ba884fe9bdec0aadbf8cc8e83e2beb369f4e9 | |
parent | 27ee33d1368b9772f75285932c00479a0fae82ee [diff] |
[OpenMP] Fix calculation of dependencies for multi-dimensional iteration space (#99347) The expectation for multiple iterators used in a single depend clause (`depend(iterator(i=0:5,j=0:5), in:x[i][j])`) is that the iterator space is the product of the iteration vectors (25 in that case). The current codeGen only works correctly, if `numIterators() = 1`. For more iterators, the execution results in runtime assertions or segfaults. The modified codeGen first calculates the iteration space, then multiplies to the number of dependencies in the depend clause and finally adds to the total number of iterator dependencies.
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.