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

Adam Smith via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 29 09:17:05 PDT 2026


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

Sorry, I replied before implementing.  Push incoming.

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


More information about the cfe-commits mailing list