[Mlir-commits] [mlir] Remove unnecessary return in InlinerPass.cpp (PR #123507)

Hyunsung Lee llvmlistbot at llvm.org
Sun Jan 19 21:12:24 PST 2025


https://github.com/ita9naiwa updated https://github.com/llvm/llvm-project/pull/123507

>From 66e2b13ee20dfc599bab25f7e9049f4b4b558b8e Mon Sep 17 00:00:00 2001
From: Hyunsung Lee <hlee at octo.ai>
Date: Sun, 19 Jan 2025 17:44:12 +0900
Subject: [PATCH] remove unnecessary return in InlinerPass.cpp

---
 mlir/lib/Transforms/InlinerPass.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/mlir/lib/Transforms/InlinerPass.cpp b/mlir/lib/Transforms/InlinerPass.cpp
index 04b2f9e4191877..703e517d453742 100644
--- a/mlir/lib/Transforms/InlinerPass.cpp
+++ b/mlir/lib/Transforms/InlinerPass.cpp
@@ -149,7 +149,6 @@ void InlinerPass::runOnOperation() {
   // Run the inlining.
   if (failed(inliner.doInlining()))
     signalPassFailure();
-  return;
 }
 
 LogicalResult InlinerPass::initializeOptions(



More information about the Mlir-commits mailing list