Improve fatal error message when an Attribute or Type wasn't initialized by a dialect...
authorMehdi Amini <joker.eph@gmail.com>
Sat, 16 Oct 2021 20:19:35 +0000 (20:19 +0000)
committerMehdi Amini <joker.eph@gmail.com>
Sat, 16 Oct 2021 20:19:35 +0000 (20:19 +0000)
commitd0d991cd23eff29737aae704d8b9611bd3416ec9
tree0743ec4671e4283fdff61cb98ec33b578c52ef52
parent49562d3dfed0ed6983d29d040db7e46ef3bc833e
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.
mlir/include/mlir/IR/AttributeSupport.h
mlir/include/mlir/IR/TypeSupport.h