================ @@ -266,6 +266,22 @@ def CIR_PointerType : CIR_Type<"Pointer", "ptr", }]; } +//===----------------------------------------------------------------------===// +// BoolType +//===----------------------------------------------------------------------===// + +def CIR_BoolType : + CIR_Type<"Bool", "bool", + [DeclareTypeInterfaceMethods<DataLayoutTypeInterface>]> { + + let summary = "CIR bool type"; + let description = [{ + `cir.bool` represents C++ bool type. + }]; + + let hasCustomAssemblyFormat = 1; ---------------- dkolsen-pgi wrote:
Done. I changed this PR to mimic the referenced incubator PR. https://github.com/llvm/llvm-project/pull/128601 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits