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

Pranav Kant llvmlistbot at llvm.org
Mon Dec 23 09:46:24 PST 2024


https://github.com/pranavk created https://github.com/llvm/llvm-project/pull/120985

None

>From fa7550b4fb71c5d8f0550c4f6be6e4131f929656 Mon Sep 17 00:00:00 2001
From: Pranav Kant <prka at google.com>
Date: Mon, 23 Dec 2024 17:45:56 +0000
Subject: [PATCH] [mlir] Fix -Werror,-Wundefined-bool-conversion after #117513

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

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