File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
include/mlir/Dialect/Vector/IR Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2283,7 +2283,7 @@ def Vector_ConstantMaskOp :
2283
2283
}
2284
2284
2285
2285
/// Return whether the mask is a uniform vector of `1`s.
2286
- bool isFullMask ();
2286
+ bool isAllOnesMask ();
2287
2287
}];
2288
2288
2289
2289
let assemblyFormat = "$mask_dim_sizes attr-dict `:` type(results)";
Original file line number Diff line number Diff line change @@ -3947,7 +3947,7 @@ static LogicalResult foldTransferFullMask(TransferOp op) {
3947
3947
if (!constantMask)
3948
3948
return failure ();
3949
3949
3950
- if (!constantMask.isFullMask ())
3950
+ if (!constantMask.isAllOnesMask ())
3951
3951
return failure ();
3952
3952
3953
3953
op.getMaskMutable ().clear ();
@@ -5622,7 +5622,7 @@ LogicalResult ConstantMaskOp::verify() {
5622
5622
return success ();
5623
5623
}
5624
5624
5625
- bool ConstantMaskOp::isFullMask () {
5625
+ bool ConstantMaskOp::isAllOnesMask () {
5626
5626
auto resultType = getVectorType ();
5627
5627
// Check the corner case of 0-D vectors first.
5628
5628
if (resultType.getRank () == 0 ) {
You can’t perform that action at this time.
0 commit comments