================
@@ -31,8 +31,9 @@ CIRGenFunction::AutoVarEmission
CIRGenFunction::emitAutoVarAlloca(const VarDecl &d,
mlir::OpBuilder::InsertPoint ip) {
QualType ty = d.getType();
- if (ty.getAddressSpace() != LangAS::Default)
- cgm.errorNYI(d.getSourceRange(), "emitAutoVarAlloca: address space");
+ assert(
----------------
AbdallahRashed wrote:
@andykaylor I have updated the test case to use cir.cast address_space thank
you
https://github.com/llvm/llvm-project/pull/197506
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits