llvm-project/mlir/test
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
..
Analysis [mlir] Add a shape function library op 2020-11-29 11:15:30 -08:00
Bindings [mlir] Add Python binding for MLIR Dict Attribute 2020-12-13 04:30:35 +00:00
CAPI Store a MlirIdentifier instead of a MlirStringRef in MlirNameAttribute 2020-12-11 22:38:48 +00:00
Conversion [mlir] Add std.pow lowering to LLVMIR 2020-12-15 18:54:29 +01:00
Dialect [mlir] Handle unknown ops in dynamic_tensor_from_elements bufferization 2020-12-15 12:50:56 -08:00
EDSC [mlir][Types][NFC] Move all of the builtin Type classes to BuiltinTypes.h 2020-12-03 18:02:10 -08:00
Examples [MLIR] Change FuncOp assembly syntax to print visibility inline instead of in attrib dict. 2020-11-09 11:08:08 -08:00
IR [mlir] Add std op for X raised to the power of Y 2020-12-15 17:06:26 +01:00
Pass [mlir][Inliner] Refactor the inliner to use nested pass pipelines instead of just canonicalization 2020-12-14 18:09:47 -08:00
Rewrite [mlir][PDL] Add support for PDL bytecode and expose PDL support to OwningRewritePatternList 2020-12-01 15:05:50 -08:00
SDBM Remove global dialect registration 2020-10-24 00:35:55 +00:00
Target [mlir][ArmSVE][RFC] Add an ArmSVE dialect 2020-12-14 21:35:01 +00:00
Transforms [mlir][Inliner] Refactor the inliner to use nested pass pipelines instead of just canonicalization 2020-12-14 18:09:47 -08:00
Unit Add build files and update README. 2019-03-30 11:23:22 -07:00
lib [mlir][Inliner] Refactor the inliner to use nested pass pipelines instead of just canonicalization 2020-12-14 18:09:47 -08:00
mlir-cpu-runner [mlir] Temporarily disable flaky mlir-cpu-runner async tests 2020-11-23 16:53:15 +01:00
mlir-cuda-runner [MLIR] Extend Symbol verification to reject public symbol declarations. 2020-11-16 16:05:32 -08:00
mlir-linalg-ods-gen [mlir][Linalg] Side effects interface for Linalg ops 2020-11-05 09:00:28 +00:00
mlir-opt Separate the Registration from Loading dialects in the Context 2020-08-19 01:19:03 +00:00
mlir-reduce [MLIR] Change FuncOp assembly syntax to print visibility inline instead of in attrib dict. 2020-11-09 11:08:08 -08:00
mlir-rocm-runner [MLIR] Extend Symbol verification to reject public symbol declarations. 2020-11-16 16:05:32 -08:00
mlir-spirv-cpu-runner [MLIR] Extend Symbol verification to reject public symbol declarations. 2020-11-16 16:05:32 -08:00
mlir-tblgen [mlir][OpDefGen] Add support for generating local functions for shared utilities 2020-12-14 14:21:30 -08:00
mlir-vulkan-runner [MLIR] Extend Symbol verification to reject public symbol declarations. 2020-11-16 16:05:32 -08:00
APITest.h Mass update the MLIR license header to mention "Part of the LLVM project" 2020-01-26 03:58:30 +00:00
CMakeLists.txt [mlir] Make attributes mutable in Python bindings 2020-11-24 09:16:25 +01:00
lit.cfg.py Add a basic C API for the MLIR PassManager as well as a basic TableGen backend for creating passes 2020-11-04 06:36:31 +00:00
lit.site.cfg.py.in Fix MLIR lit test configuration after cmake Python detection change 2020-11-13 04:44:45 +00:00