aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorLei Zhang <antiagainst@google.com>2020-08-05 10:06:00 -0400
committerLei Zhang <antiagainst@google.com>2020-08-05 14:44:03 -0400
commit48378a32af54af6ae656a3db14dc7c0d975d0f48 (patch)
tree51f168eebd4a3f98ed4019c311bea1619a4e1e40 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parentb1dac0cfcd3630c9a89bd31f9010eb8e8f099f6c (diff)
downloadllvm-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