[all-commits] [llvm/llvm-project] d27400: [OpenMP][mlir] Support iterator modifier LLVM lowe...

Chi-Chun, Chen via All-commits all-commits at lists.llvm.org
Tue Jun 9 21:01:17 PDT 2026


  Branch: refs/heads/users/cchen/llvmir_openmp_motion_map_iterator
  Home:   https://github.com/llvm/llvm-project
  Commit: d27400783bebaa4330d951e9792765191293c1c1
      https://github.com/llvm/llvm-project/commit/d27400783bebaa4330d951e9792765191293c1c1
  Author: Chi Chun, Chen <chichun.chen at hpe.com>
  Date:   2026-06-09 (Tue, 09 Jun 2026)

  Changed paths:
    M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
    M llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
    M mlir/test/Target/LLVMIR/openmp-iterator.mlir
    M mlir/test/Target/LLVMIR/openmp-todo.mlir
    A offload/test/offloading/fortran/map-motion-iterator.f90

  Log Message:
  -----------
  [OpenMP][mlir] Support iterator modifier LLVM lowering for map/motion

Lower iterator modifiers on map and motion
(target_data/target_data_begin/target_data_end/target_update) by
building dynamic offload map arrays in OpenMPIRBuilder and populating
them from iterator-expanded map entries during MLIR OpenMP to LLVM IR
translation.

Hoist runtime-sized offload map array allocation for target data with
iterator modifiers so the dynamic count and arrays dominate runtime calls.

This patch is part of feature work for #188061.

Assisted with 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