================
@@ -117,13 +117,12 @@ CIRGenModule::CIRGenModule(mlir::MLIRContext &mlirContext,
astContext.getTargetInfo().getPointerAlign(LangAS::Default))
.getQuantity();
- const unsigned charSize = astContext.getTargetInfo().getCharWidth();
+ const unsigned charSize = target.getCharWidth();
uCharTy = cir::IntType::get(&getMLIRContext(), charSize, /*isSigned=*/false);
// TODO(CIR): Should be updated once TypeSizeInfoAttr is upstreamed
----------------
erichkeane wrote:
What is this TODO supposed to be on? It clearly shouldn't be on this, right?
https://github.com/llvm/llvm-project/pull/217153
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits