[all-commits] [llvm/llvm-project] 7d886f: [mlir][gpu] Update attribute definitions in `gpu::...

Longsheng Mou via All-commits all-commits at lists.llvm.org
Thu Aug 7 20:43:42 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7d886fab74d4037d654d02bed24dd97c0ba863d6
      https://github.com/llvm/llvm-project/commit/7d886fab74d4037d654d02bed24dd97c0ba863d6
  Author: Longsheng Mou <longshengmou at gmail.com>
  Date:   2025-08-08 (Fri, 08 Aug 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/GPU/IR/GPUOps.td
    M mlir/lib/Dialect/GPU/IR/GPUDialect.cpp
    M mlir/lib/Dialect/GPU/Transforms/KernelOutlining.cpp
    M mlir/test/Dialect/GPU/ops.mlir
    M mlir/test/Dialect/GPU/outlining.mlir

  Log Message:
  -----------
  [mlir][gpu] Update attribute definitions in `gpu::LaunchOp` (#152106)

`gpu::LaunchOp` is updated the following way:
- Change the attribute type of kernel function and module from
`SymbolRefAttr` to `FlatSymbolRefAttr` to avoid nested symbol
references.
- Rename variables from camel case (kernelFunc, kernelModule) to lower
case (function, module) and update the syntax.
- `LaunchOp::build` support passing `module` and `function` attributes.



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