[all-commits] [llvm/llvm-project] 93d45d: [OpenACC] Do not clean up nohost routines in `ACCR...
Moazin K. via All-commits
all-commits at lists.llvm.org
Tue Jul 28 13:35:05 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 93d45dce2fc704e28bacb1eea399fb9900385418
https://github.com/llvm/llvm-project/commit/93d45dce2fc704e28bacb1eea399fb9900385418
Author: Moazin K. <mkhatti at nvidia.com>
Date: 2026-07-28 (Tue, 28 Jul 2026)
Changed paths:
M mlir/include/mlir/Dialect/OpenACC/Transforms/Passes.td
M mlir/lib/Dialect/OpenACC/Transforms/ACCRoutineLowering.cpp
M mlir/test/Dialect/OpenACC/acc-routine-lowering.mlir
Log Message:
-----------
[OpenACC] Do not clean up nohost routines in `ACCRoutineLowering`. (#212534)
The design of the ACC routine lowering supports multiple device side
specializations of an ACC routine function. Earlier in the pipeline, all
calls to the function are expected to refer the original host function
and not their device side specialized versions. Once there is enough
parallelism context, the calls can be changed to point to the
appropriate specialized routine.
The nohost handling in `ACCRoutineLowering` goes against this design.
This change removes the special handling of nohost routines and this
clean up should be done in later passes.
Assisted-by: Codex
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