diff options
| author | Tres Popp <tpopp@google.com> | 2020-04-29 15:45:50 +0200 |
|---|---|---|
| committer | Tres Popp <tpopp@google.com> | 2020-04-30 11:11:49 +0200 |
| commit | 70619fa82ddbe951d1b2d3dd224a131ff104edeb (patch) | |
| tree | 04dc7e194001548ff154ef49a87bf66765ab14cd /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 3acf62f3ad30fe05c50ff2ac4c5d7847dc6d7e2a (diff) | |
[MLIR] Add isa<> support for Dialects.
Summary:
The purpose of this is to aid in having code behave differently on
Operations based on their Dialect without caring about the specific
Op. Additionally this is consistent with most other types supporting
isa<> and dyn_cast<>.
A Dialect matches isa<> based only on its namespace and relies on each
namespace being unique.
Differential Revision: https://reviews.llvm.org/D79088
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
