[all-commits] [llvm/llvm-project] 41135a: [MLIR] Make DictionaryAttr::getAs take name as && ...

Fabian Schuiki via All-commits all-commits at lists.llvm.org
Wed Jun 9 01:05:29 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 41135a4367a75cf02d9873be7bd904456ce77329
      https://github.com/llvm/llvm-project/commit/41135a4367a75cf02d9873be7bd904456ce77329
  Author: Fabian Schuiki <fabian at schuiki.ch>
  Date:   2021-06-09 (Wed, 09 Jun 2021)

  Changed paths:
    M mlir/include/mlir/IR/BuiltinAttributes.td

  Log Message:
  -----------
  [MLIR] Make DictionaryAttr::getAs take name as && reference

As a follow-up to the discussion in https://reviews.llvm.org/D103822,
make the templated `DictionaryAttr::getAs` take the name by `&&`
reference and properly forward the argument to the underlying `get`.




More information about the All-commits mailing list