llvm-project/mlir/test/IR
Nicolas Vasilache a08b750ce9 [mlir][tensor] InsertSliceOp verification.
This revision reintroduces tensor.insert_slice verification which seems
to have vanished over time: a verifier was initially introduced in cf9503c1b7
but for some reason the invalid.mlir was not properly updated; as time passed the verifier was not called anymore and later the code was deleted.

As a consequence, a non-negligible portion of tests has run astray using invalid
tensor.insert_slice semantics and needed to be fixed.

Also, extract isRankReducedType from TensorOps for better reuse
Originally, this facility was used by both tensor and memref forms but
it got copied around as dialects were split.

Differential Revision: https://reviews.llvm.org/D114715
2021-11-30 20:37:06 +00:00
..
affine-map.mlir [MLIR][Affine] Simplify nested modulo operations when able 2021-09-17 19:06:00 +00:00
attribute.mlir [mlir] Add AnyAttrOf tablegen attribute constraint 2021-10-18 15:45:25 +00:00
check-help-output.mlir
core-ops.mlir [mlir][tensor] InsertSliceOp verification. 2021-11-30 20:37:06 +00:00
dense-elements-hex.mlir [mlir] Convert raw data in dense element attributes for big-endian machines. 2020-10-28 17:06:16 -07:00
diagnostic-handler-filter.mlir [mlir] Add a ThreadPool to MLIRContext and refactor MLIR threading usage 2021-06-23 01:29:24 +00:00
diagnostic-handler.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
elements-attr-interface.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
invalid-affinemap.mlir [OpAsmParser] Add a parseCommaSeparatedList helper and beef up Delimeter. 2021-09-20 20:59:11 -07:00
invalid-func-op.mlir Add a new interface allowing to set a default dialect to be used for printing/parsing regions 2021-08-31 17:52:40 +00:00
invalid-locations.mlir [mlir][Asm] Add support for resolving operation locations after parsing has finished 2020-11-12 23:34:36 -08:00
invalid-module-op.mlir Add a new interface allowing to set a default dialect to be used for printing/parsing regions 2021-08-31 17:52:40 +00:00
invalid-ops.mlir [mlir] NFC - Move invalid.mlir tests to the proper dialects 2021-11-28 21:30:40 +00:00
invalid-unregistered.mlir [MLIR] Fix assert crash when an unregistered dialect op is encountered 2021-10-14 15:43:53 +05:30
invalid.mlir [mlir][Vector] First step for 0D vector type 2021-11-17 14:58:24 +00:00
locations.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
memory-ops.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
module-op.mlir Define a `NoTerminator` traits that allows operations with a single block region to not provide a terminator 2021-03-25 03:59:03 +00:00
op-stats.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
opaque_locations.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
operand.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
operation-equality.mlir Implement recursive support into OperationEquivalence::isEquivalentTo() 2021-07-29 05:06:37 +00:00
parser.mlir [mlir][Vector] First step for 0D vector type 2021-11-17 14:58:24 +00:00
pretty-attributes.mlir [mlir] Tighten verification of SparseElementsAttr 2021-09-21 01:57:42 +00:00
pretty-locations.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
pretty-region-args.mlir
pretty_printed_region_op.mlir [mlir] Refactoring a few Parser APIs 2021-11-23 06:11:01 +00:00
print-attr-type-aliases.mlir [mlir] Fix AsmPrinter for types with sub elements 2021-10-12 12:08:16 +03:00
print-ir-defuse.mlir [mlir] Set the namespace of the BuiltinDialect to 'builtin' 2021-07-28 21:00:10 +00:00
print-ir-nesting.mlir [mlir] Set the namespace of the BuiltinDialect to 'builtin' 2021-07-28 21:00:10 +00:00
print-op-generic.mlir [mlir] Gated calls to getAsm{Result,BlockArgument}Names on whether printing ops in generic form. 2021-07-10 17:19:37 +00:00
print-op-local-scope.mlir Change filecheck default to dump input on failure 2020-06-09 18:57:46 +00:00
print-op-on-diagnostic.mlir [mlir] Set the namespace of the BuiltinDialect to 'builtin' 2021-07-28 21:00:10 +00:00
recursive-type.mlir [mlir] Support for mutable types 2020-07-27 13:07:44 +02:00
region.mlir [mlir] Don't elide the last op if there is no terminator 2021-05-28 07:25:49 -04:00
repro_b120295301.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
result.mlir
slice.mlir [MLIR] Create memref dialect and move dialect-specific ops from std. 2021-03-15 11:14:09 +01:00
test-func-erase-arg.mlir
test-func-erase-result.mlir [MLIR] Extend Symbol verification to reject public symbol declarations. 2020-11-16 16:05:32 -08:00
test-func-insert-arg.mlir Fix `insertFunctionArguments()` block argument order. 2021-11-05 10:08:20 +01:00
test-func-insert-result.mlir [MLIR] Add argument insertion helpers for FunctionLike 2021-07-01 09:18:57 +02:00
test-func-set-type.mlir [mlir] Refactor the representation of function-like argument/result attributes. 2021-05-07 19:32:31 -07:00
test-matchers.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
test-side-effects.mlir Add a mechanism for Dialects to provide a fallback for OpInterface 2021-03-24 08:41:40 +00:00
test-symbol-rauw.mlir [mlir] Implement replacement of SymbolRefAttrs in Dialect attributes using SubElementAttr interface 2021-10-28 19:08:20 +02:00
test-symbol-uses.mlir [MLIR] Extend Symbol verification to reject public symbol declarations. 2020-11-16 16:05:32 -08:00
traits.mlir [mlir] Allows to query traits from types and attributes 2021-09-13 06:26:45 +00:00
visitors.mlir [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
wrapping_op.mlir [mlir] Set the namespace of the BuiltinDialect to 'builtin' 2021-07-28 21:00:10 +00:00
zero_whitespace.mlir