summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorKareem Ergawy <kareem.ergawy@amd.com>2024-05-03 08:59:01 +0200
committerGitHub <noreply@github.com>2024-05-03 08:59:01 +0200
commit922ab7089b2eb234afa6fa0e7db85110cd8a3351 (patch)
tree17762c790868ffff9d0b24d8e3900e292d31808f /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentf8fedfb6802173372ec923f99f31d4af810fbcb0 (diff)
[MLIR][OpenMP] Extend omp.private materialization support: `dealloc` (#90841)
Extends current support for delayed privatization during translation to LLVM IR. This adds support for materlizaing the `dealloc` region in `omp.private` ops when this region contains clean-up/deallocation logic that needs to be executed at the end of the parallel region. This changes the `OMPIRBuilder` slightly to execute the finalization callback **after** the privatization callback. This allows us to collect information about privatized variables on the MLIR and LLVM sides so that we can properly emit deallocation logic.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions