[all-commits] [llvm/llvm-project] 8c2bff: Lazy initialize diagnostic when handling MLIR prop...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Mon Sep 11 13:22:49 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8c2bff1ab929289aa060d59df90b3bc3752eba32
      https://github.com/llvm/llvm-project/commit/8c2bff1ab929289aa060d59df90b3bc3752eba32
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2023-09-11 (Mon, 11 Sep 2023)

  Changed paths:
    M mlir/include/mlir/IR/ExtensibleDialect.h
    M mlir/include/mlir/IR/ODSSupport.h
    M mlir/include/mlir/IR/OpDefinition.h
    M mlir/include/mlir/IR/Operation.h
    M mlir/include/mlir/IR/OperationSupport.h
    M mlir/include/mlir/IR/Properties.td
    M mlir/lib/AsmParser/Parser.cpp
    M mlir/lib/CAPI/IR/IR.cpp
    M mlir/lib/IR/MLIRContext.cpp
    M mlir/lib/IR/ODSSupport.cpp
    M mlir/lib/IR/Operation.cpp
    M mlir/lib/IR/OperationSupport.cpp
    M mlir/test/lib/Dialect/Test/TestDialect.cpp
    M mlir/test/lib/Dialect/Test/TestDialect.h
    M mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
    M mlir/unittests/IR/OpPropertiesTest.cpp

  Log Message:
  -----------
  Lazy initialize diagnostic when handling MLIR properties (#65868)

Instead of eagerly creating a diagnostic that will be discarded in the
normal case, switch to lazy initialization on error.




More information about the All-commits mailing list