llvm-project/mlir/lib
Alex Zinenko 65da460c79 affine.load/store: check for the right number of operands
Affine load and store operations take a variadic number of arguments, most of
which are interpreted as subscripts for the multi-dimensional memref they
access.  Add a verifier check that ensures the number of operands is equal to
the number affine remapping inputs if present and to the rank of the acessed
memref otherwise.  Although it is impossible to obtain such operations by
parsing the custom syntax, it is possible to construct them using the generic
syntax or programmatically.

PiperOrigin-RevId: 257605902
2019-07-12 08:43:29 -07:00
..
AffineOps affine.load/store: check for the right number of operands 2019-07-12 08:43:29 -07:00
Analysis NFC: Rename Function to FuncOp. 2019-07-10 10:10:53 -07:00
Conversion NFC: Replace Module::getNamedFunction with lookupSymbol<FuncOp>. 2019-07-12 08:43:03 -07:00
Dialect NFC: Refactor Function to be value typed. 2019-07-01 11:39:00 -07:00
EDSC NFC: Rename Function to FuncOp. 2019-07-10 10:10:53 -07:00
ExecutionEngine NFC: Rename Module to ModuleOp. 2019-07-10 10:11:21 -07:00
GPU NFC: Replace Module::getNamedFunction with lookupSymbol<FuncOp>. 2019-07-12 08:43:03 -07:00
IR NFC: Replace Module::getNamedFunction with lookupSymbol<FuncOp>. 2019-07-12 08:43:03 -07:00
LLVMIR NFC: Rename Function to FuncOp. 2019-07-10 10:10:53 -07:00
Linalg Propagate linalg op attributes in transformations 2019-07-12 08:43:22 -07:00
Parser Refactor the parsing/printing of the top-level module. 2019-07-12 08:42:56 -07:00
Pass NFC: Remove Function::getModule. 2019-07-12 08:42:21 -07:00
Quantizer NFC: Remove `Module::getFunctions` in favor of a general `getOps<T>`. 2019-07-08 18:28:17 -07:00
SDBM SDBM: fix the order of variables in the stripe-induced inequalities 2019-06-03 19:26:29 -07:00
SPIRV Update the gen_spirv_dialect.py script to add opcodes from the SPIR-V 2019-07-12 08:43:09 -07:00
StandardOps NFC: Replace Module::getNamedFunction with lookupSymbol<FuncOp>. 2019-07-12 08:43:03 -07:00
Support NFC: Rename Module to ModuleOp. 2019-07-10 10:11:21 -07:00
TableGen ODS: provide a flag to skip generation of default build methods 2019-07-05 02:28:05 -07:00
Target NFC: Rename Module to ModuleOp. 2019-07-10 10:11:21 -07:00
Transforms EDSC: use affine.load/store instead of std.load/store 2019-07-12 08:42:28 -07:00
Translation Include missing header. 2019-07-08 08:05:09 -07:00
VectorOps Add a few utility overloads for OpAsmParser methods: 2019-06-09 16:18:21 -07:00
CMakeLists.txt Convert a nest affine loops to a GPU kernel 2019-06-19 23:02:02 -07:00