File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -512,20 +512,20 @@ void ReduceMinOp::print(OpAsmPrinter &parser) {
512512// Tosa utilities.
513513// ===----------------------------------------------------------------------===//
514514
515- std::optional<int64_t > idivCheck (const int64_t lhs, const int64_t rhs) {
515+ static std::optional<int64_t > idivCheck (const int64_t lhs, const int64_t rhs) {
516516 if (lhs % rhs != 0 )
517517 return std::nullopt ;
518518 return lhs / rhs;
519519}
520520
521- Type getStorageElementTypeOrSelf (Type type) {
521+ static Type getStorageElementTypeOrSelf (Type type) {
522522 auto srcType = getElementTypeOrSelf (type);
523523 if (auto quantType = llvm::dyn_cast<mlir::quant::QuantizedType>(srcType))
524524 srcType = quantType.getStorageType ();
525525 return srcType;
526526}
527527
528- Type getStorageElementTypeOrSelf (Value value) {
528+ static Type getStorageElementTypeOrSelf (Value value) {
529529 return getStorageElementTypeOrSelf (value.getType ());
530530}
531531
You can’t perform that action at this time.
0 commit comments