[Mlir-commits] [mlir] 78389de - Add back missing return to non-void function

Mehdi Amini llvmlistbot at llvm.org
Sun Jan 2 22:19:48 PST 2022


Author: Mehdi Amini
Date: 2022-01-03T06:18:25Z
New Revision: 78389de4d396ee180aa87174b78996d4a83ae819

URL: https://github.com/llvm/llvm-project/commit/78389de4d396ee180aa87174b78996d4a83ae819
DIFF: https://github.com/llvm/llvm-project/commit/78389de4d396ee180aa87174b78996d4a83ae819.diff

LOG: Add back missing return to non-void function

It was incorrectly removed accidentally in e4e463e7476.

Added: 
    

Modified: 
    mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp b/mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
index ed6b3847db96..e9a5c37708e6 100644
--- a/mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
+++ b/mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
@@ -1665,6 +1665,7 @@ class ResizeConverter : public OpRewritePattern<tosa::ResizeOp> {
       rewriter.create<linalg::YieldOp>(loc, result);
       return success();
     }
+    return failure();
   }
 };
 


        


More information about the Mlir-commits mailing list