diff --git a/clang/include/clang/CIR/Dialect/IR/CIROps.td b/clang/include/clang/CIR/Dialect/IR/CIROps.td index 71b9a816669bc..d3411973129a4 100644 --- a/clang/include/clang/CIR/Dialect/IR/CIROps.td +++ b/clang/include/clang/CIR/Dialect/IR/CIROps.td @@ -553,7 +553,6 @@ def IfOp : CIR_Op<"if", let arguments = (ins CIR_BoolType:$condition); let regions = (region AnyRegion:$thenRegion, AnyRegion:$elseRegion); let hasCustomAssemblyFormat=1; - let hasVerifier=1; let skipDefaultBuilders=1; let builders = [ OpBuilder<(ins "mlir::Value":$cond, "bool":$withElseRegion, diff --git a/clang/lib/CIR/Dialect/IR/CIRDialect.cpp b/clang/lib/CIR/Dialect/IR/CIRDialect.cpp index 9c80c48fa4039..bd1aa1f4fe5bb 100644 --- a/clang/lib/CIR/Dialect/IR/CIRDialect.cpp +++ b/clang/lib/CIR/Dialect/IR/CIRDialect.cpp @@ -751,8 +751,6 @@ void cir::IfOp::build(OpBuilder &builder, OperationState &result, Value cond, elseBuilder(builder, result.location); } -LogicalResult cir::IfOp::verify() { return success(); } - //===----------------------------------------------------------------------===// // ScopeOp //===----------------------------------------------------------------------===//