[all-commits] [llvm/llvm-project] 2dbaf2: [mlir][ods] Fix generation of optional custom pars...

Jeff Niu via All-commits all-commits at lists.llvm.org
Tue Mar 12 21:12:59 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2dbaf265255a5fa9643a8092ec2dffa881d2cf93
      https://github.com/llvm/llvm-project/commit/2dbaf265255a5fa9643a8092ec2dffa881d2cf93
  Author: Jeff Niu <jeff at modular.com>
  Date:   2024-03-13 (Wed, 13 Mar 2024)

  Changed paths:
    M mlir/test/IR/custom-print-parse.mlir
    M mlir/test/IR/invalid-custom-print-parse.mlir
    M mlir/test/lib/Dialect/Test/TestDialect.cpp
    M mlir/test/lib/Dialect/Test/TestOps.td
    M mlir/test/mlir-tblgen/attr-or-type-format.td
    M mlir/test/mlir-tblgen/op-format.td
    M mlir/tools/mlir-tblgen/AttrOrTypeFormatGen.cpp
    M mlir/tools/mlir-tblgen/OpFormatGen.cpp

  Log Message:
  -----------
  [mlir][ods] Fix generation of optional custom parsers (#84821)

We need to generate `.has_value` for `OptionalParseResult`, also ensure
that `auto result` doesn't conflict with `result` which is the variable
name for `OperationState`.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list