[all-commits] [llvm/llvm-project] afb0b2: [mlir][nvgpu] Use TableGen TypeDef for NVGPU diale...

Chris via All-commits all-commits at lists.llvm.org
Fri Sep 23 18:46:19 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: afb0b21f24adecfa0b302c79366980453b15ba7b
      https://github.com/llvm/llvm-project/commit/afb0b21f24adecfa0b302c79366980453b15ba7b
  Author: Christopher Bate <cbate at nvidia.com>
  Date:   2022-09-23 (Fri, 23 Sep 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/NVGPU/IR/NVGPU.td
    M mlir/include/mlir/Dialect/NVGPU/IR/NVGPUDialect.h
    M mlir/lib/Dialect/NVGPU/IR/NVGPUDialect.cpp

  Log Message:
  -----------
  [mlir][nvgpu] Use TableGen TypeDef for NVGPU dialect types

Moves definition of DeviceAsyncToken to use the declarative Tablegen
TypeDef since the type is trivial. This also allows for removing the
current code for parsing/printing types by using the auto-generated
functions.

Reviewed By: ThomasRaoux

Differential Revision: https://reviews.llvm.org/D134564




More information about the All-commits mailing list