[all-commits] [llvm/llvm-project] dd0466: [mlir][gpu] Refactor GpuOpsToROCDLOps pass interfa...
Pablo Antonio Martinez via All-commits
all-commits at lists.llvm.org
Wed Sep 10 00:04:56 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dd04668138aeb0b12e6d98e8a306fa3e1b99e4a6
https://github.com/llvm/llvm-project/commit/dd04668138aeb0b12e6d98e8a306fa3e1b99e4a6
Author: Pablo Antonio Martinez <pamartin at amd.com>
Date: 2025-09-10 (Wed, 10 Sep 2025)
Changed paths:
M mlir/include/mlir/Conversion/GPUToROCDL/GPUToROCDLPass.h
M mlir/include/mlir/Conversion/Passes.td
M mlir/lib/Conversion/GPUToROCDL/LowerGpuOpsToROCDLOps.cpp
Log Message:
-----------
[mlir][gpu] Refactor GpuOpsToROCDLOps pass interface (NFC) (#157402)
This PR deletes the `createLowerGpuOpsToROCDLOpsPass` constructor from
the .td file, making the `createConvertGpuOpsToROCDLOps` pass available
to users. This has the following effects:
1. `createLowerGpuOpsToROCDLOpsPass` is not available anymore. Instead,
`createConvertGpuOpsToROCDLOps` should be used. This makes the interface
consistent with ConvertGpuOpsToNVVMOps.
2. To call `createConvertGpuOpsToROCDLOps`, the options must be passed
via ConvertGpuOpsToROCDLOpsOptions. This has the side effect of
making the `allowed-dialects` option available, which was not accessible
via C++ before.
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