[all-commits] [llvm/llvm-project] 213c6c: Harden MLIR detection of misconfiguration when mis...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Thu May 28 01:15:13 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 213c6cdf2e7a30d722cee4cd66b7d48fc396d44b
      https://github.com/llvm/llvm-project/commit/213c6cdf2e7a30d722cee4cd66b7d48fc396d44b
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2020-05-28 (Thu, 28 May 2020)

  Changed paths:
    M mlir/include/mlir/IR/Builders.h
    M mlir/include/mlir/IR/MLIRContext.h
    M mlir/include/mlir/IR/OpDefinition.h
    M mlir/lib/IR/MLIRContext.cpp

  Log Message:
  -----------
  Harden MLIR detection of misconfiguration when missing dialect registration

This changes will catch error where C++ op are used without being
registered, either through creation with the OpBuilder or when trying to
cast to the C++ op.

Differential Revision: https://reviews.llvm.org/D80651




More information about the All-commits mailing list