[PATCH] D74768: [mlir] Support OptionalAttr inside a StructAttr

Tamas Berghammer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 18 10:25:46 PST 2020


tberghammer updated this revision to Diff 245199.
tberghammer added a comment.

Fix attribute accessor to not crash for null values


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74768/new/

https://reviews.llvm.org/D74768

Files:
  mlir/tools/mlir-tblgen/StructsGen.cpp
  mlir/unittests/TableGen/StructsGenTest.cpp
  mlir/unittests/TableGen/structs.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74768.245199.patch
Type: text/x-patch
Size: 4731 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200218/906ce352/attachment.bin>


More information about the llvm-commits mailing list