[PATCH] D11635: DebugInfo: Emit DW_AT_address_class for non-0 address space
Matt Arsenault
Matthew.Arsenault at amd.com
Thu Jul 30 13:41:01 PDT 2015
On 07/30/2015 10:54 AM, David Blaikie wrote:
> If we could rely on the llvm::Value that the debug info variable
> description points to always having a PointerType with the desired
> address space, then we could just get it from there & wouldn't need to
> add more info to the debug info variable description.
OK, I see what you mean now. We would like to be able to change the
address space of the value for optimization purposes, but still report
the source address space. For example, the AMDGPUPromoteAlloca pass now
currently tries to replace allocas in address space 0 with globals in
address space 3.
More information about the llvm-commits
mailing list