[all-commits] [llvm/llvm-project] 2def12: [MLIR][SPIRV] Use getAsmResultName(...) hook for A...

Kareem Ergawy via All-commits all-commits at lists.llvm.org
Mon Jun 7 04:59:48 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2def12ebc6cc904cddb4bc608df63014ec2bfe86
      https://github.com/llvm/llvm-project/commit/2def12ebc6cc904cddb4bc608df63014ec2bfe86
  Author: KareemErgawy <kareem.ergawy at tomtom.com>
  Date:   2021-06-07 (Mon, 07 Jun 2021)

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

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

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

Reviewed By: antiagainst

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




More information about the All-commits mailing list