[PATCH] D11622: [NVPTX] allow register copy between float and int
Justin Holewinski
jholewinski at nvidia.com
Sat Aug 1 09:32:02 PDT 2015
jholewinski added a comment.
In http://reviews.llvm.org/D11622#216520, @eliben wrote:
> In http://reviews.llvm.org/D11622#216514, @jholewinski wrote:
>
> > This looks reasonable for now. Longer term, I'd like to experiment with doing away with the typed registers completely and just use .bXX for all registers. Typing is nice for readability, but code gen can be cleaner without it. They all compile down to the same set of registers at the sass level, and I'd like to match the hardware as much as possible (given that we can't just generate sass).
>
>
> It's a shame we can't generate SASS ;-) Working around limitations in ptxas makes LLVM's job somewhat miserable here.
Oh, I agree 110%. PTX serves a purpose, but it's not very useful in a full compilation chain like what LLVM can provide. But that decision is way above my pay grade.
http://reviews.llvm.org/D11622
More information about the llvm-commits
mailing list