[all-commits] [llvm/llvm-project] 2a577a: [mlir][acc] Add operation for private handle to me...

Razvan Lupusoru via All-commits all-commits at lists.llvm.org
Thu Jun 4 09:24:46 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2a577a44a35975f1ac25096861ab87e4c5ad9ddd
      https://github.com/llvm/llvm-project/commit/2a577a44a35975f1ac25096861ab87e4c5ad9ddd
  Author: Razvan Lupusoru <razvan.lupusoru at gmail.com>
  Date:   2026-06-04 (Thu, 04 Jun 2026)

  Changed paths:
    M mlir/include/mlir/Dialect/OpenACC/OpenACC.h
    M mlir/include/mlir/Dialect/OpenACC/OpenACCCGOps.td
    M mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
    M mlir/test/Dialect/OpenACC/ops-cg-privatization.mlir
    M mlir/unittests/Dialect/OpenACC/OpenACCTypeInterfacesTest.cpp

  Log Message:
  -----------
  [mlir][acc] Add operation for private handle to memref (#201603)

This MR introduces a new operation `acc.unwrap_private` for creating a
pointer-like view of the `acc.private_type` handle. This operation will
be used when materializing `acc.private_local` into the memory view
needed to access the allocated private memory. This new operation is
just a simple cast and thus it gets ViewLikeOpInterface attached to it.

Additionally, `acc.private_type` is now treated as a pointer-like type
to ease conversions to other pointer-like types via
PointerLikeType::genCast.



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