================ @@ -224,3 +225,19 @@ mlir::Type CIRGenTypes::convertType(QualType type) { typeCache[ty] = resultType; return resultType; } + +mlir::Type CIRGenTypes::convertTypeForMem(clang::QualType qualType, + bool forBitField) { + assert(!qualType->isConstantMatrixType() && "Matrix types NYI"); + + mlir::Type convertedType = convertType(qualType); ---------------- dkolsen-pgi wrote:
`CIRGenTypes::convertTypeForMem` in the incubator doesn't have any special handling for `bool`, despite the comment on the declaration specifically pointing to `bool` as a type that needs special treatment. The implementation here is an exact copy of what is in the incubator. I created https://github.com/llvm/clangir/issues/1371 in the incubator project to sort this out. https://github.com/llvm/llvm-project/pull/127674 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits