[all-commits] [llvm/llvm-project] 194c29: [mlir][OpenACC] Materialize routine bind targets b...

nvptm via All-commits all-commits at lists.llvm.org
Mon Sep 28 12:14:35 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 194c292ff93cf82be3064c94d405b9171d776164
      https://github.com/llvm/llvm-project/commit/194c292ff93cf82be3064c94d405b9171d776164
  Author: nvptm <pmathew at nvidia.com>
  Date:   2026-09-28 (Mon, 28 Sep 2026)

  Changed paths:
    M mlir/include/mlir/Dialect/OpenACC/Transforms/Passes.td
    M mlir/lib/Dialect/OpenACC/Transforms/ACCBindRoutine.cpp
    A mlir/test/Dialect/OpenACC/acc-bind-routine-missing-materialization.mlir
    M mlir/test/Dialect/OpenACC/acc-bind-routine.mlir
    M mlir/test/Dialect/OpenACC/acc-cg-to-gpu-bound-routine-call.mlir
    A mlir/test/Dialect/OpenACC/acc-materialize-routine-bind-targets-invalid.mlir

  Log Message:
  -----------
  [mlir][OpenACC] Materialize routine bind targets before parallel call rewriting. (#227035)

Separate string-bound OpenACC routine target materialization from call
rewriting.

Add a module-level pass that creates declarations for string-bound
routine targets before the existing per-function ACCBindRoutine pass
rewrites calls. Run the new pass once on the outer module and once on
each GPU module. Remove declaration creation from ACCBindRoutine.

Extend coverage with two outer-module callers and two GPU callers that
reference the same bound routine, a GPU-module-local routine case, and
negative tests for missing materialization and invalid pass placement.
Update the pipeline test to verify ordering in both outer-module and
GPU-module pipelines.



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