[all-commits] [llvm/llvm-project] fefe43: [mlir] Use ValueRange instead of ArrayRef<Value>

Jacques Pienaar via All-commits all-commits at lists.llvm.org
Thu May 28 09:05:50 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: fefe4366c3bdd03552c448972930a0f7df328c24
      https://github.com/llvm/llvm-project/commit/fefe4366c3bdd03552c448972930a0f7df328c24
  Author: Jacques Pienaar <jpienaar at google.com>
  Date:   2020-05-28 (Thu, 28 May 2020)

  Changed paths:
    M mlir/include/mlir/Conversion/StandardToLLVM/ConvertStandardToLLVM.h
    M mlir/include/mlir/Dialect/SPIRV/SPIRVLowering.h
    M mlir/include/mlir/TableGen/OpClass.h
    M mlir/include/mlir/TableGen/Operator.h
    M mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
    M mlir/lib/Dialect/SPIRV/SPIRVLowering.cpp
    M mlir/lib/TableGen/OpClass.cpp
    M mlir/lib/TableGen/Operator.cpp
    M mlir/test/mlir-tblgen/op-decl.td
    M mlir/test/mlir-tblgen/op-operand.td
    M mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp

  Log Message:
  -----------
  [mlir] Use ValueRange instead of ArrayRef<Value>

This allows constructing operand adaptor from existing op (useful for commonalizing verification as I want to do in a follow up).

I also add ability to use member initializers for the generated adaptor constructors for convenience.

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




More information about the All-commits mailing list