[llvm-branch-commits] [AutoUpgrade][AMDGPU] Adjust AS7 address width to 48 bits (PR #137418)

Krzysztof Drewniak via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Apr 30 15:02:49 PDT 2025


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


More information about the llvm-branch-commits mailing list