[all-commits] [llvm/llvm-project] ad0465: [flang][OpenMP] Lower allocator-backed storage for...

Sairudra More via All-commits all-commits at lists.llvm.org
Tue Aug 4 01:05:38 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ad0465266346682f39a44e7ca9e971b5fa101cc2
      https://github.com/llvm/llvm-project/commit/ad0465266346682f39a44e7ca9e971b5fa101cc2
  Author: Sairudra More <sairudra60 at gmail.com>
  Date:   2026-08-04 (Tue, 04 Aug 2026)

  Changed paths:
    M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
    M flang/lib/Lower/OpenMP/OpenMP.cpp
    M flang/lib/Optimizer/OpenMP/LowerWorkdistribute.cpp
    R flang/test/Lower/OpenMP/Todo/allocate-clause-allocator.f90
    A flang/test/Lower/OpenMP/Todo/allocate-clause-unsupported.f90
    A flang/test/Lower/OpenMP/allocate-clause-allocator.f90
    M flang/test/Semantics/OpenMP/allocate-clause01.f90
    M flang/test/Transforms/OpenMP/lower-workdistribute-fission-target.mlir
    M mlir/include/mlir/Dialect/OpenMP/OpenMPClauses.td
    M mlir/include/mlir/Dialect/OpenMP/OpenMPDialect.h
    M mlir/lib/Conversion/SCFToOpenMP/SCFToOpenMP.cpp
    M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
    M mlir/test/Dialect/OpenMP/host-op-filtering.mlir
    M mlir/test/Dialect/OpenMP/invalid.mlir
    M mlir/test/Dialect/OpenMP/ops.mlir
    A mlir/test/Target/LLVMIR/openmp-allocate-clause.mlir
    M mlir/test/Target/LLVMIR/openmp-todo.mlir

  Log Message:
  -----------
  [flang][OpenMP] Lower allocator-backed storage for allocate clauses (#211621)

Part of #211620.

This is the first of two stacked changes implementing OpenMP `allocate`
clause lowering for fixed-size intrinsic scalar `private` and
`firstprivate` items on host `omp.parallel`.

It carries each allocate item’s private-storage mapping through the
OpenMP dialect, allocates with the requested allocator (using the
runtime default for an omitted or null handle), and releases the storage
during region finalization.

The `align` modifier is handled by the stacked follow-up.

Assisted-by: Copilot



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list