llvm-project/mlir/test/Dialect/Standard
Sean Silva caf4f2e372 [mlir] Handle unknown ops in dynamic_tensor_from_elements bufferization
Due to how the conversion infra works, the "clone" call that this
pattern was using required all the cloned ops to be immediately
legalized as part of this dialect conversion invocation.

That was previously working due to a couple factors:

- In the test case, there was scf.if, which we happen to mark as legal
  as part of marking the entire SCF dialect as legal for the scf.parallel
  we generate here.

- Originally, this test case had std.extract_element in the body, which
  we happened to have a pattern for in this pass. After I migrated that to
  `tensor.extract` (which removed the tensor.extract bufferization from
  here), I hacked this up to use `std.dim` which we still have patterns
  for in this pass.

This patch updates the test case to use a truly opaque op `test.source`
that properly stresses this aspect of the pattern.

(this also removes a stray dependency on the `tensor` dialect that I
must have left behind as part of my hacking this pass up when migrating
to `tensor.extract`)

Differential Revision: https://reviews.llvm.org/D93262
2020-12-15 12:50:56 -08:00
..
bufferize.mlir [mlir] Handle unknown ops in dynamic_tensor_from_elements bufferization 2020-12-15 12:50:56 -08:00
canonicalize-cf.mlir [mlir] Add canonicalization for cond_br that feed into a cond_br on the same condition 2020-10-18 13:51:02 -07:00
canonicalize.mlir Revert "Revert "[mlir] Start splitting the `tensor` dialect out of `std`."" 2020-12-11 14:30:50 -08:00
expand-ops.mlir [mlir][std] Add ExpandOps pass. 2020-11-09 21:58:28 +01:00
expand-tanh.mlir [mlir] Add support for lowering tanh to LLVMIR. 2020-06-18 10:42:13 -07:00
func-bufferize.mlir [mlir] Small cleanups to func-bufferize/finalizing-bufferize 2020-11-30 17:04:14 -08:00
invalid.mlir [mlir][StandardOps] Verify that the result of an integer constant is signless 2020-12-10 12:40:10 -08:00
ops.mlir [MLIR] Introduce std.global_memref and std.get_global_memref operations. 2020-11-02 13:43:04 -08:00
tensor-constant-bufferize.mlir [mlir] Bufferize tensor constant ops 2020-11-12 14:56:10 -08:00