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 Install the MLIRTableGen static library. 2020-06-11 18:23:24 -07:00
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 [mlir][NFC] Remove usernames and google bug numbers from TODO comments. 2020-07-07 01:40:52 -07:00
.clang-format
.clang-tidy Fix MLIR clang-tidy: when tweaking it does not inherit from the parent 2020-03-07 17:44:21 +00:00
CMakeLists.txt Initial boiler-plate for python bindings. 2020-07-09 12:03:58 -07:00
LICENSE.TXT Add the Apache2 with LLVM exceptions license to MLIR 2019-12-24 00:58:06 -08:00
README.md mlir README.md: Fix the syntax 2019-12-24 13:31:07 +01:00

README.md

Multi-Level Intermediate Representation

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