We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f72e953 commit f24f8d2Copy full SHA for f24f8d2
mlir/lib/IR/Types.cpp
@@ -33,6 +33,7 @@ Type AbstractType::replaceImmediateSubElements(Type type,
33
//===----------------------------------------------------------------------===//
34
35
MLIRContext *Type::getContext() const { return getDialect().getContext(); }
36
+
37
bool Type::isBF16() const { return llvm::isa<BFloat16Type>(*this); }
38
bool Type::isF16() const { return llvm::isa<Float16Type>(*this); }
39
bool Type::isTF32() const { return llvm::isa<FloatTF32Type>(*this); }
0 commit comments