[all-commits] [llvm/llvm-project] 5bac6a: [mlir][GPU] Improve `gpu.module` op implementation

Matthias Springer via All-commits all-commits at lists.llvm.org
Mon Aug 12 02:17:15 PDT 2024


  Branch: refs/heads/users/matthias-springer/gpu_module
  Home:   https://github.com/llvm/llvm-project
  Commit: 5bac6a0aa162f788c6137f4ec4747f66e8d354f5
      https://github.com/llvm/llvm-project/commit/5bac6a0aa162f788c6137f4ec4747f66e8d354f5
  Author: Matthias Springer <mspringer at nvidia.com>
  Date:   2024-08-12 (Mon, 12 Aug 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/GPU/IR/GPUDialect.h
    M mlir/include/mlir/Dialect/GPU/IR/GPUOps.td
    M mlir/lib/Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp
    M mlir/lib/Conversion/GPUToROCDL/LowerGpuOpsToROCDLOps.cpp
    M mlir/lib/Conversion/GPUToSPIRV/GPUToSPIRV.cpp
    M mlir/lib/Dialect/GPU/IR/GPUDialect.cpp
    M mlir/test/Conversion/GPUToNVVM/gpu-to-nvvm-32b.mlir
    M mlir/test/Conversion/GPUToNVVM/gpu-to-nvvm.mlir

  Log Message:
  -----------
  [mlir][GPU] Improve `gpu.module` op implementation

- Replace hand-written parser/printer with auto-generated assembly format.
- Remove implicit `gpu.module_end` terminator and use the `NoTerminator` trait instead. (Same as `builtin.module`.)
- Turn the region into a graph region. (Same as `builtin.module`.)



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