[Mlir-commits] [mlir] 891a0d7 - Remove dead return after return (NFC)

Mehdi Amini llvmlistbot at llvm.org
Sun Jan 2 22:04:02 PST 2022


Author: Mehdi Amini
Date: 2022-01-03T06:03:34Z
New Revision: 891a0d7ccd96bb09eacee3cf7439ac03408f2a14

URL: https://github.com/llvm/llvm-project/commit/891a0d7ccd96bb09eacee3cf7439ac03408f2a14
DIFF: https://github.com/llvm/llvm-project/commit/891a0d7ccd96bb09eacee3cf7439ac03408f2a14.diff

LOG: Remove dead return after return (NFC)

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Conversion/ArithmeticToLLVM/ArithmeticToLLVM.cpp b/mlir/lib/Conversion/ArithmeticToLLVM/ArithmeticToLLVM.cpp
index f8d59e08f9833..564b8343df791 100644
--- a/mlir/lib/Conversion/ArithmeticToLLVM/ArithmeticToLLVM.cpp
+++ b/mlir/lib/Conversion/ArithmeticToLLVM/ArithmeticToLLVM.cpp
@@ -187,8 +187,6 @@ CmpIOpLowering::matchAndRewrite(arith::CmpIOp op, OpAdaptor adaptor,
             adaptor.getLhs(), adaptor.getRhs());
       },
       rewriter);
-
-  return success();
 }
 
 //===----------------------------------------------------------------------===//


        


More information about the Mlir-commits mailing list