[all-commits] [llvm/llvm-project] 7ee61c: [flang][OpenMP] Lower allocate align modifier on p...

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


  Branch: refs/heads/users/Saieiei/omp-allocate-clause/02-align-modifier
  Home:   https://github.com/llvm/llvm-project
  Commit: 7ee61c6a3fa0707fd6acba501fde9d4ed60558af
      https://github.com/llvm/llvm-project/commit/7ee61c6a3fa0707fd6acba501fde9d4ed60558af
  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/ClauseProcessor.h
    M flang/lib/Lower/OpenMP/OpenMP.cpp
    M flang/lib/Optimizer/OpenMP/LowerWorkdistribute.cpp
    M flang/lib/Semantics/check-omp-structure.cpp
    R flang/test/Lower/OpenMP/Todo/allocate-clause-align.f90
    M flang/test/Lower/OpenMP/Todo/allocate-clause-unsupported.f90
    M 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/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
    M mlir/test/Target/LLVMIR/openmp-allocate-clause.mlir

  Log Message:
  -----------
  [flang][OpenMP] Lower allocate align modifier on parallel

Lower the align modifier on OpenMP allocate clauses for parallel constructs.
Carry per-item alignments through the OpenMP dialect and select
__kmpc_aligned_alloc for aligned private storage while retaining the existing
allocation and cleanup behavior for unaligned items.

Add source, verifier, preservation, LLVM IR, i386 ABI, and overflow coverage.
Keep unsupported construct kinds and device lowering unchanged.

Assisted-by: GitHub 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