[all-commits] [llvm/llvm-project] 56ed18: [MLIR][OpenMP] Refactor omp.target_allocmem to all...

Sergio Afonso via All-commits all-commits at lists.llvm.org
Thu Apr 16 05:07:25 PDT 2026


  Branch: refs/heads/users/skatrak/flang-generic-08-allocmem-refactor
  Home:   https://github.com/llvm/llvm-project
  Commit: 56ed18d9e3b6e19ca668125be38a007873c11869
      https://github.com/llvm/llvm-project/commit/56ed18d9e3b6e19ca668125be38a007873c11869
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2026-04-16 (Thu, 16 Apr 2026)

  Changed paths:
    M mlir/include/mlir/Dialect/OpenMP/OpenMPClauses.td
    M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
    M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
    M mlir/test/Dialect/OpenMP/invalid.mlir
    M mlir/test/Dialect/OpenMP/ops.mlir

  Log Message:
  -----------
  [MLIR][OpenMP] Refactor omp.target_allocmem to allow reuse, NFC

This patch moves tablegen definitions that could be used for all kinds of heap
allocations out of `omp.target_allocmem` and into a new
`OpenMP_HeapAllocClause` that can be reused.

Descriptions are updated to follow the format of most other operations and the
custom verifier for `omp.target_allocmem` is removed as it only made a
redundant check on its result type.



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