This is an archive of the discontinued LLVM Phabricator instance.

[mlir][spirv] Correctly deduce PhysicalStorageBuffer64 addressing model
ClosedPublic

Authored by alexbatashev on Jun 5 2022, 1:42 AM.

Details

Summary

According to the SPIR-V specification[1], PhysicalStorageBuffer storage
class can only be used iff addressing model is PhysicalStorageBuffer64.

[1]: https://www.khronos.org/registry/SPIR-V/specs/unified1/SPIRV.html#_addressing_model

Diff Detail

Event Timeline

alexbatashev created this revision.Jun 5 2022, 1:42 AM
alexbatashev requested review of this revision.Jun 5 2022, 1:42 AM

Fix corrupted test file

antiagainst accepted this revision.Jun 6 2022, 11:26 AM
This revision is now accepted and ready to land.Jun 6 2022, 11:26 AM