[PATCH] D61625: Debug Info: Support address space attributes on rvalue references.
Adrian Prantl via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 7 10:16:29 PDT 2019
aprantl added a comment.
In D61625#1493532 <https://reviews.llvm.org/D61625#1493532>, @probinson wrote:
> +1 to Bjorn's comment.
> The DWARF spec says address class is also allowed on a "subroutine or subroutine type" do we allow generating code into nonzero address spaces?
I don't know, but I wouldn't be surprised if we didn't. IIUC address spaces are used for heterogeneous computing to identify, e.g., which memory lives on a GPU vs the main memory, and in that case the code for the GPU would be generated by a different backend anyway, so the distinction is probably less useful?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61625/new/
https://reviews.llvm.org/D61625
More information about the llvm-commits
mailing list