[all-commits] [llvm/llvm-project] aea302: [mlir] Move the Operation use iteration utilities ...

River Riddle via All-commits all-commits at lists.llvm.org
Wed Aug 25 02:38:10 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aea3026ea7ffbdacf45e068e139ebf78deeade9d
      https://github.com/llvm/llvm-project/commit/aea3026ea7ffbdacf45e068e139ebf78deeade9d
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2021-08-25 (Wed, 25 Aug 2021)

  Changed paths:
    M mlir/include/mlir/IR/Operation.h
    M mlir/include/mlir/IR/OperationSupport.h
    M mlir/lib/IR/Operation.cpp
    M mlir/lib/IR/OperationSupport.cpp

  Log Message:
  -----------
  [mlir] Move the Operation use iteration utilities to ResultRange

This allows for iterating and interacting with the uses of a specific subset of
results as opposed to just the full range.

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


  Commit: 9658b061dd2970a5bd939c92e5e72f82d28de19a
      https://github.com/llvm/llvm-project/commit/9658b061dd2970a5bd939c92e5e72f82d28de19a
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2021-08-25 (Wed, 25 Aug 2021)

  Changed paths:
    M mlir/include/mlir/IR/DialectImplementation.h
    M mlir/lib/Dialect/DLTI/DLTI.cpp
    M mlir/lib/Dialect/EmitC/IR/EmitC.cpp
    M mlir/lib/Dialect/GPU/IR/GPUDialect.cpp
    M mlir/lib/Dialect/LLVMIR/IR/LLVMTypeSyntax.cpp
    M mlir/lib/Parser/DialectSymbolParser.cpp

  Log Message:
  -----------
  [mlir] Update DialectAsmParser::parseString to use std::string instead of StringRef

This allows for parsing strings that have escape sequences, which require constructing
a string (as they can't be represented by looking at the Token contents directly).

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


  Commit: c8d9e1ce43a71cd1cf97eb57849d692262215ad4
      https://github.com/llvm/llvm-project/commit/c8d9e1ce43a71cd1cf97eb57849d692262215ad4
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2021-08-25 (Wed, 25 Aug 2021)

  Changed paths:
    M mlir/include/mlir/IR/OpBase.td
    M mlir/include/mlir/TableGen/AttrOrTypeDef.h
    M mlir/lib/TableGen/AttrOrTypeDef.cpp
    M mlir/test/mlir-tblgen/attrdefs.td
    M mlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp

  Log Message:
  -----------
  [mlir][AttrTypeGen] Add support for specifying a "accessor" type of a parameter

This allows for using a different type when accessing a parameter than the
one used for storage. This allows for returning parameters by reference,
enables using more optimized/convient reference results, and more.

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


Compare: https://github.com/llvm/llvm-project/compare/b3e392c081ea...c8d9e1ce43a7


More information about the All-commits mailing list