diff options
author | Sergei Lebedev <185856+superbobry@users.noreply.github.com> | 2024-02-14 12:02:49 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-14 13:02:49 +0100 |
commit | 82f3cbc860bfd9f1e10e3605ae1b162b1f423cc7 (patch) | |
tree | d56972653821bc0e8e773c4f7be49880a8533714 /clang/lib/CodeGen/CoverageMappingGen.cpp | |
parent | 0c8b5942c7cfa53d9e2a57fb860a21b7bce3fb26 (diff) | |
download | llvm-82f3cbc860bfd9f1e10e3605ae1b162b1f423cc7.zip llvm-82f3cbc860bfd9f1e10e3605ae1b162b1f423cc7.tar.gz llvm-82f3cbc860bfd9f1e10e3605ae1b162b1f423cc7.tar.bz2 |
[MLIR][Python] Added a base class to all builtin floating point types (#81720)
This allows to
* check if a given ir.Type is a floating point type via isinstance() or
issubclass()
* get the bitwidth of a floating point type
See motivation and discussion in
https://discourse.llvm.org/t/add-floattype-to-mlir-python-bindings/76959.
Diffstat (limited to 'clang/lib/CodeGen/CoverageMappingGen.cpp')
0 files changed, 0 insertions, 0 deletions