[all-commits] [llvm/llvm-project] d0d991: Improve fatal error message when an Attribute or T...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Sat Oct 16 13:22:35 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d0d991cd23eff29737aae704d8b9611bd3416ec9
      https://github.com/llvm/llvm-project/commit/d0d991cd23eff29737aae704d8b9611bd3416ec9
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2021-10-16 (Sat, 16 Oct 2021)

  Changed paths:
    M mlir/include/mlir/IR/AttributeSupport.h
    M mlir/include/mlir/IR/TypeSupport.h

  Log Message:
  -----------
  Improve fatal error message when an Attribute or Type wasn't initialized by a dialect (NFC)

The existing message hints that the dialect may not be loaded, but there
is also the possibility that the dialect was loaded and the initialize()
method didn't include the Type/Attribute.




More information about the All-commits mailing list