[all-commits] [llvm/llvm-project] e493ab: [MLIR][SPIRV] Use getAsmResultName(...) hook for C...

Kareem Ergawy via All-commits all-commits at lists.llvm.org
Fri May 28 00:29:53 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e493abcf55a35812d15e16477958baa4bdc92707
      https://github.com/llvm/llvm-project/commit/e493abcf55a35812d15e16477958baa4bdc92707
  Author: KareemErgawy <kareem.ergawy at tomtom.com>
  Date:   2021-05-28 (Fri, 28 May 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVOps.h
    M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVStructureOps.td
    M mlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp
    A mlir/test/Dialect/SPIRV/IR/asm-op-interface.mlir
    M mlir/test/Dialect/SPIRV/IR/memory-ops.mlir

  Log Message:
  -----------
  [MLIR][SPIRV] Use getAsmResultName(...) hook for ConstantOp.

Implements better naming for results of `spv.Constant` ops by making it
inherit from OpAsmOpInterface and implementing the associated
getAsmResultName(...) hook.

Reviewed By: antiagainst

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




More information about the All-commits mailing list