[all-commits] [llvm/llvm-project] 688c51: [MLIR] Add mlir::TypedValue

Ralender via All-commits all-commits at lists.llvm.org
Sun Aug 28 20:26:58 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 688c51a5acc53b456014e53663051476d825e896
      https://github.com/llvm/llvm-project/commit/688c51a5acc53b456014e53663051476d825e896
  Author: Tyker <tyker1 at outlook.com>
  Date:   2022-08-28 (Sun, 28 Aug 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/Bufferization/TransformOps/BufferizationTransformOps.h
    M mlir/include/mlir/IR/Value.h
    M mlir/lib/Conversion/GPUCommon/GPUToLLVMConversion.cpp
    M mlir/lib/Dialect/SCF/Utils/Utils.cpp
    M mlir/lib/Dialect/Shape/IR/Shape.cpp
    M mlir/test/lib/Dialect/Test/TestDialect.h
    M mlir/test/mlir-tblgen/op-attribute.td
    M mlir/test/mlir-tblgen/op-decl-and-defs.td
    M mlir/test/mlir-tblgen/op-operand.td
    M mlir/test/mlir-tblgen/op-result.td
    M mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp

  Log Message:
  -----------
  [MLIR] Add mlir::TypedValue

mlir::TypedValue is a wrapper class for mlir::Values with a known type
getType will return the known type and all assignements will be checked

Also the tablegen Operation generator was adapted to use mlir::TypedValue
when appropriate




More information about the All-commits mailing list