mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-14 17:06:38 +00:00
[mlir][vector] Fix deprecation warning for .isa
. NFC. (#135512)
This was introduced in: https://github.com/llvm/llvm-project/pull/135371
This commit is contained in:
parent
cfa322fa9a
commit
b0acbbee88
@ -5348,7 +5348,7 @@ public:
|
||||
using OpRewritePattern::OpRewritePattern;
|
||||
LogicalResult matchAndRewrite(GatherOp op,
|
||||
PatternRewriter &rewriter) const override {
|
||||
if (!op.getBase().getType().isa<MemRefType>())
|
||||
if (!isa<MemRefType>(op.getBase().getType()))
|
||||
return rewriter.notifyMatchFailure(op, "base must be of memref type");
|
||||
|
||||
if (failed(isZeroBasedContiguousSeq(op.getIndexVec())))
|
||||
|
Loading…
x
Reference in New Issue
Block a user