[clang] [CIR] Upstream CmpOp (PR #133159)

Morris Hafner via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 27 07:46:06 PDT 2025


================
@@ -514,9 +515,17 @@ mlir::LogicalResult CIRToLLVMCastOpLowering::matchAndRewrite(
     assert(!MissingFeatures::cxxABI());
     assert(!MissingFeatures::dataMemberType());
     break;
-  case cir::CastKind::ptr_to_bool:
-    assert(!cir::MissingFeatures::opCmp());
+  case cir::CastKind::ptr_to_bool: {
----------------
mmha wrote:

I wanted to ask you the same question so I guess the answer is no :D

https://github.com/llvm/llvm-project/pull/133159


More information about the cfe-commits mailing list