This is an archive of the discontinued LLVM Phabricator instance.

[spirv] Fix bitwidth emulation for Workgroup storage class
ClosedPublic

Authored by antiagainst on Aug 5 2020, 7:12 AM.

Details

Summary

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.

Diff Detail

Event Timeline

antiagainst created this revision.Aug 5 2020, 7:12 AM
antiagainst requested review of this revision.Aug 5 2020, 7:12 AM
mravishankar accepted this revision.Aug 5 2020, 8:54 AM

THanks!

This revision is now accepted and ready to land.Aug 5 2020, 8:54 AM