diff options
author | Lei Zhang <antiagainst@google.com> | 2020-08-05 10:06:00 -0400 |
---|---|---|
committer | Lei Zhang <antiagainst@google.com> | 2020-08-05 14:44:03 -0400 |
commit | 48378a32af54af6ae656a3db14dc7c0d975d0f48 (patch) | |
tree | 51f168eebd4a3f98ed4019c311bea1619a4e1e40 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | b1dac0cfcd3630c9a89bd31f9010eb8e8f099f6c (diff) | |
download | llvm-48378a32af54af6ae656a3db14dc7c0d975d0f48.zip llvm-48378a32af54af6ae656a3db14dc7c0d975d0f48.tar.gz llvm-48378a32af54af6ae656a3db14dc7c0d975d0f48.tar.bz2 |
[spirv] Fix bitwidth emulation for Workgroup storage class
If Int16 is not available, 16-bit integers inside Workgroup storage
class should be emulated via 32-bit integers. This was previously
broken because the capability querying logic was incorrectly
intercepting all storage classes where it meant to only handle
interface storage classes. Adjusted where we return to fix this.
Differential Revision: https://reviews.llvm.org/D85308
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions