krzysz00 wrote:

>  I think we just have to pretend that virtual addresses or segment-relative 
> addresses are the only thing that matters.

This is why I've been advocating for the index-based definition of ptrtoaddr. 
So there's no need to do this 48-bit thing on the assumption that the base of a 
buffer fat pointer is "aligned enough" (in most contrxts where I've seen this 
the start point is some sort of allocation that'll definitely be align(16) or 
better)

https://github.com/llvm/llvm-project/pull/137418
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to