diff --git a/clang/include/clang/CIR/Dialect/IR/CIRTypes.td b/clang/include/clang/CIR/Dialect/IR/CIRTypes.td index 3a0451175f30..681f527fd9b9 100644 --- a/clang/include/clang/CIR/Dialect/IR/CIRTypes.td +++ b/clang/include/clang/CIR/Dialect/IR/CIRTypes.td @@ -322,8 +322,6 @@ def CIR_BoolType : let description = [{ `cir.bool` represent's C++ bool type. }]; - - let hasCustomAssemblyFormat = 1; } //===----------------------------------------------------------------------===// diff --git a/clang/lib/CIR/Dialect/IR/CIRTypes.cpp b/clang/lib/CIR/Dialect/IR/CIRTypes.cpp index e35d60293f41..748c2568d666 100644 --- a/clang/lib/CIR/Dialect/IR/CIRTypes.cpp +++ b/clang/lib/CIR/Dialect/IR/CIRTypes.cpp @@ -104,12 +104,6 @@ void CIRDialect::printType(Type type, DialectAsmPrinter &os) const { }); } -Type BoolType::parse(mlir::AsmParser &parser) { - return get(parser.getContext()); -} - -void BoolType::print(mlir::AsmPrinter &printer) const {} - //===----------------------------------------------------------------------===// // StructType Definitions //===----------------------------------------------------------------------===// diff --git a/clang/test/CIR/IR/invalid.cir b/clang/test/CIR/IR/invalid.cir index 58178e7c0b9a..94a1d8ade826 100644 --- a/clang/test/CIR/IR/invalid.cir +++ b/clang/test/CIR/IR/invalid.cir @@ -1486,7 +1486,7 @@ cir.global external @f = #cir.fp<42> : !cir.float // Verify !s32i = !cir.int cir.func @cast0(%arg0: !s32i, %arg1: !s32i) { - // expected-error @below {{custom op 'cir.cmp' invalid kind of Type specified}} + // expected-error @below {{custom op 'cir.cmp' invalid kind of type specified}} %1 = cir.cmp(eq, %arg0, %arg1): !s32i, !s32i cir.return }