We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e8a06c commit 24921a9Copy full SHA for 24921a9
mlir/lib/IR/Types.cpp
@@ -46,7 +46,6 @@ bool Type::isIndex() const { return llvm::isa<IndexType>(*this); }
46
47
bool Type::isInteger() const { return llvm::isa<IntegerType>(*this); }
48
49
-/// Return true if this is an integer type with the specified width.
50
bool Type::isInteger(unsigned width) const {
51
if (auto intTy = llvm::dyn_cast<IntegerType>(*this))
52
return intTy.getWidth() == width;
0 commit comments