This is an archive of the discontinued LLVM Phabricator instance.

[MLIR][SPIRVToLLVM] Added support of volatile and nontemporal memory access in load/store
ClosedPublic

Authored by georgemitenkov on Jul 28 2020, 3:18 AM.

Details

Summary

This patch adds support of Volatile and Nontemporal
memory accesses to spv.Load and spv.Store. These attributes are
modelled with a volatile and nontemporal flags.

Diff Detail

Event Timeline

georgemitenkov created this revision.Jul 28 2020, 3:18 AM

Fixed typo in replaceWithLoadOrStore().

georgemitenkov requested review of this revision.Jul 28 2020, 3:35 AM
antiagainst accepted this revision.Jul 28 2020, 5:53 PM
antiagainst added inline comments.
mlir/lib/Conversion/SPIRVToLLVM/ConvertSPIRVToLLVM.cpp
602

Use /*isNonTemporal=*/ to be consistent

This revision is now accepted and ready to land.Jul 28 2020, 5:53 PM