llvm-project/mlir/test/Transforms
River Riddle b98f414a04 [mlir][DialectConversion] Emit an error if an operation marked as erased has live users after conversion
Up until now, there has been an implicit agreement that when an operation is marked as
"erased" all uses of that operation's results are guaranteed to be removed during conversion. How this works in practice is that there is either an assert/crash/asan failure/etc. This revision adds support for properly detecting when an erased operation has dangling users, emits and error and fails the conversion.

Differential Revision: https://reviews.llvm.org/D82830
2020-07-14 13:06:08 -07:00
..
buffer-placement-preparation-allowed-memref-results.mlir [mlir] Support unranked types in func signature conversion in BufferPlacement. 2020-07-07 19:43:48 +02:00
buffer-placement-preparation.mlir [mlir] Support unranked types in func signature conversion in BufferPlacement. 2020-07-07 19:43:48 +02:00
buffer-placement.mlir [mlir] Add check for ViewLikeOpInterface that creates additional aliases. 2020-07-03 16:38:21 +02:00
canonicalize-block-merge.mlir [mlir] Change dialect namespace loop->scf 2020-05-13 19:20:21 +02:00
canonicalize-dce.mlir Enable FileCheck -enable-var-scope by default in MLIR test 2020-06-12 00:43:09 +00:00
canonicalize.mlir Enable FileCheck -enable-var-scope by default in MLIR test 2020-06-12 00:43:09 +00:00
constant-fold.mlir [mlir][StandardDialect] Add some folding for operations in standard dialect. 2020-06-15 22:52:29 -07:00
copy-removal.mlir [mlir] Add redundant copy removal transform 2020-07-03 15:36:25 +02:00
cse.mlir [mlir] Refactor BoolAttr to be a special case of IntegerAttr 2020-06-04 16:41:24 -07:00
inlining-dce.mlir [mlir][Inliner] Properly handle callgraph node deletion 2020-06-17 15:45:56 -07:00
inlining.mlir [mlir] Refactor BoolAttr to be a special case of IntegerAttr 2020-06-04 16:41:24 -07:00
location-snapshot.mlir Enable FileCheck -enable-var-scope by default in MLIR test 2020-06-12 00:43:09 +00:00
loop-coalescing.mlir [mlir] Change dialect namespace loop->scf 2020-05-13 19:20:21 +02:00
loop-fusion-dependence-check.mlir Add a flag on the context to protect against creation of operations in unregistered dialects 2020-03-30 19:37:31 +00:00
loop-fusion-slice-computation.mlir [mlir] Change dialect namespace loop->scf 2020-05-13 19:20:21 +02:00
loop-fusion-transformation.mlir [MLIR] Give AffineStoreOp and AffineLoadOp Memory SideEffects. 2020-04-28 15:45:25 +02:00
loop-fusion.mlir [mlir][NFC] Remove usernames and google bug numbers from TODO comments. 2020-07-07 01:40:52 -07:00
loop-invariant-code-motion.mlir [mlir] Change dialect namespace loop->scf 2020-05-13 19:20:21 +02:00
loop-utils.mlir [mlir][SCF] Add utility to clone an scf.ForOp while appending new yield values. 2020-05-29 07:28:17 -04:00
memref-bound-check.mlir [MLIR] Fix memref region compute for 0-d memref accesses 2020-06-16 13:59:53 +05:30
memref-dataflow-opt.mlir Enable FileCheck -enable-var-scope by default in MLIR test 2020-06-12 00:43:09 +00:00
memref-dependence-check.mlir [mlir][NFC] Remove usernames and google bug numbers from TODO comments. 2020-07-07 01:40:52 -07:00
memref-normalize.mlir [MLIR] Give AffineStoreOp and AffineLoadOp Memory SideEffects. 2020-04-28 15:45:25 +02:00
parallel-loop-collapsing.mlir [mlir] fix off-by-one error in collapseParallelLoops 2020-06-26 15:39:46 +02:00
parametric-mapping.mlir [mlir] Change dialect namespace loop->scf 2020-05-13 19:20:21 +02:00
parametric-tiling.mlir [mlir] Change dialect namespace loop->scf 2020-05-13 19:20:21 +02:00
pipeline-data-transfer.mlir Enable FileCheck -enable-var-scope by default in MLIR test 2020-06-12 00:43:09 +00:00
sccp-callgraph.mlir Change filecheck default to dump input on failure 2020-06-09 18:57:46 +00:00
sccp-structured.mlir [mlir] Change dialect namespace loop->scf 2020-05-13 19:20:21 +02:00
sccp.mlir [mlir] Refactor BoolAttr to be a special case of IntegerAttr 2020-06-04 16:41:24 -07:00
single-parallel-loop-collapsing.mlir [mlir] fix off-by-one error in collapseParallelLoops 2020-06-26 15:39:46 +02:00
strip-debuginfo.mlir Add a flag on the context to protect against creation of operations in unregistered dialects 2020-03-30 19:37:31 +00:00
test-canonicalize.mlir Add a flag on the context to protect against creation of operations in unregistered dialects 2020-03-30 19:37:31 +00:00
test-inlining.mlir Add a flag on the context to protect against creation of operations in unregistered dialects 2020-03-30 19:37:31 +00:00
test-legalize-erased-op-with-uses.mlir [mlir][DialectConversion] Emit an error if an operation marked as erased has live users after conversion 2020-07-14 13:06:08 -07:00
test-legalize-remapped-value.mlir Add getRemappedValue to ConversionPatternRewriter 2019-11-19 11:09:39 -08:00
test-legalize-unknown-root.mlir [mlir] Allow for patterns to match any root kind. 2020-06-18 13:58:47 -07:00
test-legalizer-analysis.mlir Add a flag on the context to protect against creation of operations in unregistered dialects 2020-03-30 19:37:31 +00:00
test-legalizer-full.mlir Add a flag on the context to protect against creation of operations in unregistered dialects 2020-03-30 19:37:31 +00:00
test-legalizer.mlir [mlir][DialectConversion] Refactor how block argument types get converted 2020-06-18 15:59:22 -07:00
test-operation-folder.mlir [mlir] Add a test for OperationFolder 2020-05-07 12:39:24 +02:00
test-symbol-dce.mlir [mlir][SymbolDCE][NFC] Fix the visibility of the symbols within the test and 2020-04-13 00:33:11 -07:00