File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
include/mlir/Dialect/Utils Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ inline ArrayRef<StringRef> getAllIteratorTypeNames() {
64
64
static constexpr StringRef names[3 ] = {getParallelIteratorTypeName (),
65
65
getReductionIteratorTypeName (),
66
66
getWindowIteratorTypeName ()};
67
- return names;
67
+ return llvm::makeArrayRef ( names) ;
68
68
}
69
69
70
70
// / Returns the iterator of a certain type.
Original file line number Diff line number Diff line change @@ -280,7 +280,7 @@ static LogicalResult verify(ContractionOp op) {
280
280
ArrayRef<StringRef> ContractionOp::getTraitAttrNames () {
281
281
static constexpr StringRef names[2 ] = {getIndexingMapsAttrName (),
282
282
getIteratorTypesAttrName ()};
283
- return names;
283
+ return llvm::makeArrayRef ( names) ;
284
284
}
285
285
286
286
static int64_t getResultIndex (AffineMap map, AffineExpr targetExpr) {
You can’t perform that action at this time.
0 commit comments