[all-commits] [llvm/llvm-project] 94bb51: [MLIR] Add FieldParser implementation for Optional...

Nick Kreeger via All-commits all-commits at lists.llvm.org
Fri Nov 18 19:22:53 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 94bb511caca9eac12f315b19c374fd6cdb976cca
      https://github.com/llvm/llvm-project/commit/94bb511caca9eac12f315b19c374fd6cdb976cca
  Author: Nick Kreeger <nick.kreeger at gmail.com>
  Date:   2022-11-18 (Fri, 18 Nov 2022)

  Changed paths:
    M mlir/include/mlir/IR/DialectImplementation.h
    M mlir/test/lib/Dialect/Test/TestAttrDefs.td
    M mlir/test/lib/Dialect/Test/TestAttributes.cpp
    M mlir/test/mlir-tblgen/attr-or-type-format-roundtrip.mlir
    M mlir/test/mlir-tblgen/attr-or-type-format.mlir

  Log Message:
  -----------
  [MLIR] Add FieldParser implementation for Optional<> integer types.

This patch introduces a templated FieldParser to handle optional signed and unsigned integer types - NFC. Additionally, I've added an extra test to ensure that both signed and unsigned integers are properly tested in the templated integer types for FieldParser as well.




More information about the All-commits mailing list