[all-commits] [llvm/llvm-project] 0ac2b8: [flang][OpenMP] Lower align modifiers on allocate ...

Sairudra More via All-commits all-commits at lists.llvm.org
Tue Aug 4 04:02:27 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0ac2b88c53c08f405866ed0ca78be7e423ed0109
      https://github.com/llvm/llvm-project/commit/0ac2b88c53c08f405866ed0ca78be7e423ed0109
  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 align modifiers on allocate clauses (#211624)

Closes #211620.

Stacked on #211621.

This adds `align` modifier lowering to the host `omp.parallel` path
introduced by the parent change. It carries and verifies per-item
alignment metadata and uses aligned runtime allocation when alignment is
specified, while retaining the unaligned path otherwise.

Other clause-bearing constructs and unsupported data types remain out of
scope.

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