llvm-project/mlir
George Mitenkov 8be0371eb7 [MLIR][SPIRVToLLVM] Conversion of load and store SPIR-V ops
This patch introduces conversion pattern for `spv.Store` and `spv.Load`.
Only op with `Function` Storage Class is supported at the moment
because `spv.GlobalVariable` has not been introduced yet. If the op
has memory access attribute, then there are the following cases.
If the access is `Aligned`, add alignment to the op builder. Otherwise
the conversion fails as other cases are not supported yet because they
require additional attributes for `llvm.store`/`llvm.load` ops: e.g.
`volatile` and `nontemporal`.

Reviewed By: antiagainst

Differential Revision: https://reviews.llvm.org/D84236
2020-07-24 16:31:45 +03:00
..
cmake/modules
docs [MLIR] Missing line breaks in MLIR Language Reference 2020-07-24 05:06:32 +00:00
examples [CMake] Simplify CMake handling for zlib 2020-07-23 23:05:36 -07:00
include [MLIR][Shape] Fold `shape.mul` 2020-07-24 13:30:45 +00:00
integration_test [mlir] [VectorOps] Add scatter/gather operations to Vector dialect 2020-07-21 10:57:40 -07:00
lib [MLIR][SPIRVToLLVM] Conversion of load and store SPIR-V ops 2020-07-24 16:31:45 +03:00
test [MLIR][SPIRVToLLVM] Conversion of load and store SPIR-V ops 2020-07-24 16:31:45 +03:00
tools [mlir]: NFC: Fix trivial typo in documents and comments 2020-07-23 23:40:57 +09:00
unittests Reapply "Try enabling -Wsuggest-override again, using add_compile_options instead of add_compile_definitions for disabling it in unittests/ directories." 2020-07-22 17:50:19 -07:00
utils
.clang-format
.clang-tidy
CMakeLists.txt Initial boiler-plate for python bindings. 2020-07-09 12:03:58 -07:00
LICENSE.TXT
README.md

README.md

Multi-Level Intermediate Representation

See https://mlir.llvm.org/ for more information.