[mlir] Add assertion in NamedAttrList to prevent adding null attributes
authorTres Popp <tpopp@google.com>
Mon, 23 Aug 2021 17:24:12 +0000 (19:24 +0200)
committerTres Popp <tpopp@google.com>
Wed, 25 Aug 2021 09:06:53 +0000 (11:06 +0200)
commit868bd9938db1c13a9efe68263b99c0d3752e50ba
treeffbb55489bba6d65b774aa33321688cd3c18e70a
parentb0b26ae4b3c91f449f8fbd563ffd073ca16076ae
[mlir] Add assertion in NamedAttrList to prevent adding null attributes

Differential Revision: https://reviews.llvm.org/D108570
mlir/lib/IR/OperationSupport.cpp