[PATCH] D42885: [AMDGPU] intrintrics for byte/short load/store

Tim Corringham via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 5 05:09:15 PST 2018


timcorringham added a comment.

Matt, we do actually need these intrinsics as we have an urgent requirement for them Open Vulkan (which is of course my motivation for implementing them).

As Tim commented, the load ubyte and load short instructions extend to 32 bits. While float is a little odd, it does match the behavior of the other buffer_load instructions. Also I think changing it would require a disproportionate amount of effort.


Repository:
  rL LLVM

https://reviews.llvm.org/D42885





More information about the llvm-commits mailing list