================ @@ -1514,7 +1514,7 @@ static void CreateGCRelocates(ArrayRef<Value *> LiveVariables, auto getGCRelocateDecl = [&](Type *Ty) { assert(isHandledGCPointerType(Ty, GC)); auto AS = Ty->getScalarType()->getPointerAddressSpace(); - Type *NewTy = Type::getInt8PtrTy(M->getContext(), AS); + Type *NewTy = PointerType::getUnqual(M->getContext(), AS); ---------------- JOE1994 wrote:
Thank you for the update 👍 The following update is needed to avoid build failure. ```suggestion Type *NewTy = PointerType::get(M->getContext(), AS); ``` https://github.com/llvm/llvm-project/pull/71029 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits