[clang] [CIR] Allow boolean operands in cir.cmp (PR #206846)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 29 06:18:05 PDT 2026


================
@@ -2949,6 +2949,16 @@ mlir::LogicalResult CIRToLLVMCmpOpLowering::matchAndRewrite(
     return mlir::success();
   }
 
+  if (mlir::isa<cir::BoolType>(type)) {
----------------
erichkeane wrote:

This didn't happen? 

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


More information about the cfe-commits mailing list