[PATCH] D41651: AMDGPU: Add 32-bit constant address space

Marek Olšák via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 25 16:49:40 PST 2018


mareko added a comment.

In https://reviews.llvm.org/D41651#988348, @arsenm wrote:

> This is exactly why it's not OK? If it's dropped you get a compile error or miscompile


I'd rather get a compile error than miscompile. Only 64-bit pointers miscompile. This patch makes sure that 32-bit pointers do not miscompile. We've always been relying on metadata for correctness. This patch doesn't change that, nor does it intend to.

I get it. Some people want VMEM with 32-bit pointers. That is, however, not so easy for me. This patch implements the subset of 32-bit pointer functionality that Mesa will use, and only that. I've been using it and testing it for ~26 days now.


Repository:
  rL LLVM

https://reviews.llvm.org/D41651





More information about the llvm-commits mailing list