[clang] [CIR][X86] Implement lowering for sqrt builtins (PR #169310)

Andy Kaylor via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 24 14:56:15 PST 2025


================
@@ -914,6 +914,28 @@ static mlir::LogicalResult checkReturnAndFunction(cir::ReturnOp op,
   return mlir::success();
 }
 
+mlir::LogicalResult cir::SqrtOp::verify() {
----------------
andykaylor wrote:

I think you're missing the change to add this operation. I also don't think it needs a verifier. All the things you're checking here would be verified automatically where appropriate.

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


More information about the cfe-commits mailing list