nikic wrote: > > This also needs a LangRef patch to make the transform legal. > > Hi -- thanks for your comments. Do you mean a patch to update the addrspacecast documentation (esp w.r.t integral pointers)? Right. https://github.com/llvm/llvm-project/pull/70483