[Mlir-commits] [mlir] d8e7929 - [mlir] Fix -Werror, -Wundefined-bool-conversion after #117513 (#120985)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Dec 23 10:48:02 PST 2024


Author: Pranav Kant
Date: 2024-12-23T10:47:59-08:00
New Revision: d8e792931226b15d9d2424ecd24ccfe13adc2367

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

LOG: [mlir] Fix -Werror,-Wundefined-bool-conversion after #117513 (#120985)

Added: 
    

Modified: 
    mlir/lib/Transforms/Utils/DialectConversion.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Transforms/Utils/DialectConversion.cpp b/mlir/lib/Transforms/Utils/DialectConversion.cpp
index 51686646a0a2fc..255b0ba2559ee6 100644
--- a/mlir/lib/Transforms/Utils/DialectConversion.cpp
+++ b/mlir/lib/Transforms/Utils/DialectConversion.cpp
@@ -2843,7 +2843,6 @@ void TypeConverter::SignatureConversion::remapInput(unsigned origInputNo,
 
 LogicalResult TypeConverter::convertType(Type t,
                                          SmallVectorImpl<Type> &results) const {
-  assert(this && "expected non-null type converter");
   assert(t && "expected non-null type");
 
   {


        


More information about the Mlir-commits mailing list