[mlir] Tune error message for assertion.
authorSean Silva <silvasean@google.com>
Tue, 16 Mar 2021 20:40:35 +0000 (13:40 -0700)
committerSean Silva <silvasean@google.com>
Tue, 23 Mar 2021 01:10:18 +0000 (18:10 -0700)
commit0524a09cc7e1a0797982feacf505825231efbee7
treea0d92a2b63e3fd87b2ececd68cf4bb68e43d9fe6
parente3a6d70c6834d73dc2bfe33e3c29313399a91922
[mlir] Tune error message for assertion.

This assertion can fire in the case of different contexts as well, which
is not difficult to do from Python bindings, for example.
mlir/lib/Pass/Pass.cpp