[mlir][drr] Improve error message for unexpected attribute (NFC)
authorJacques Pienaar <jpienaar@google.com>
Tue, 10 Aug 2021 20:03:52 +0000 (13:03 -0700)
committerJacques Pienaar <jpienaar@google.com>
Tue, 10 Aug 2021 20:03:53 +0000 (13:03 -0700)
commit768a5175819233102d44891bd1c103af09d488a1
tree5609ebe40ecd2e80214936fa97274029c2f19108
parent178da37b186dab856af5355bc860fe38fd74b327
[mlir][drr] Improve error message for unexpected attribute (NFC)

When using an attribute where a value is expected previously this would fail
complaining about unbound symbol. Instead make error clear and mention common
failure reason.
mlir/tools/mlir-tblgen/RewriterGen.cpp