[clang] [CIR] Add math and builtin intrinsics support (PR #175233)

via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 13 14:09:48 PST 2026


================
@@ -218,6 +218,89 @@ mlir::LogicalResult CIRToLLVMExp2OpLowering::matchAndRewrite(
   return mlir::success();
 }
 
+mlir::LogicalResult CIRToLLVMLogOpLowering::matchAndRewrite(
----------------
adams381 wrote:

Acknowledged. The TableGen-based `EmitCIRBuiltinsLowering` from incubator PR #806 would simplify this significantly. We can either migrate that infrastructure as a prerequisite and rebase this PR, or keep the manual lowering for now and migrate to TableGen in a follow-up. What would you prefer?

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


More information about the cfe-commits mailing list