[PATCH] D12946: Avoid pointer truncation by InstCombine with IntToPtr combining
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 18 10:37:28 PDT 2015
arsenm added a comment.
In http://reviews.llvm.org/D12946#248756, @rampitec wrote:
> This might be a good solution, but what would zero then mean? That would likely break compatibility with existing spir codes.
>
> Stas
The point would be to avoid ever using address space 0. A SPIR loader would have to do a lot of rewriting to eliminate them
http://reviews.llvm.org/D12946
More information about the llvm-commits
mailing list