[all-commits] [llvm/llvm-project] 21bb46: [mlir] fix bugs with NamedAttrList

Jeff Niu via All-commits all-commits at lists.llvm.org
Mon Oct 18 18:30:13 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 21bb463e9639719f1aae9535825a40732eda487b
      https://github.com/llvm/llvm-project/commit/21bb463e9639719f1aae9535825a40732eda487b
  Author: Mogball <jeffniu22 at gmail.com>
  Date:   2021-10-19 (Tue, 19 Oct 2021)

  Changed paths:
    M mlir/include/mlir/IR/OperationSupport.h
    M mlir/lib/IR/BuiltinAttributes.cpp
    M mlir/unittests/IR/OperationSupportTest.cpp

  Log Message:
  -----------
  [mlir] fix bugs with NamedAttrList

- `assign` with ArrayRef was calling `append`
- `assign` with empty ArrayRef was not clearing storage

Reviewed By: jpienaar

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




More information about the All-commits mailing list