[all-commits] [llvm/llvm-project] 0db084: [mlir] Switch create to use NamedAttrList&&

Jacques Pienaar via All-commits all-commits at lists.llvm.org
Tue Jul 12 13:24:25 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0db084d4c7010981e17db1bcaec134dab9d696e8
      https://github.com/llvm/llvm-project/commit/0db084d4c7010981e17db1bcaec134dab9d696e8
  Author: Jacques Pienaar <jpienaar at google.com>
  Date:   2022-07-12 (Tue, 12 Jul 2022)

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

  Log Message:
  -----------
  [mlir] Switch create to use NamedAttrList&&

Avoids needing the two parallel functions as NamedAttrList already takes care
of caching DictionaryAttr and implicitly can convert from either.

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




More information about the All-commits mailing list