llvm-project/mlir/test
Nicolas Vasilache 5bb8d28e61 [mlir][Linalg] Add tensor support to Linalg EDSC Builders
Summary:
This diff extends the Linalg EDSC builders so we can easily create mixed
tensor/buffer linalg.generic ops. This is expected to be useful for
HLO -> Linalg lowering.

The StructuredIndexed struct is made to derive from ValueHandle and can
now capture a type + indexing expressions. This is used to represent return
tensors.

Pointwise unary and binary builders are extended to allow both output buffers
and return tensors. This has implications on the number of region arguments.

Reviewers: ftynse, hanchung, asaadaldien

Subscribers: mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, arpith-jacob, mgester, lucyrfox, aartbik, liufengdb, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D73149
2020-01-22 16:57:27 -05:00
..
AffineOps [mlir] Change the syntax of AffineMapAttr and IntegerSetAttr to avoid conflicts with function types. 2020-01-13 13:24:39 -08:00
Analysis [mlir] Update the CallGraph for nested symbol references, and simplify CallableOpInterface 2020-01-13 15:51:28 -08:00
Conversion [mlir][spirv] Add lowering for composite std.constant. 2020-01-22 08:25:00 -05:00
Dialect Create a gpu.module operation for the GPU Dialect. 2020-01-21 14:05:03 +01:00
EDSC [mlir][Linalg] Add tensor support to Linalg EDSC Builders 2020-01-22 16:57:27 -05:00
Examples Fixed typo in Toy tutorial (second var e -> var f) 2019-11-27 11:58:45 -08:00
IR [mlir] Enable printing of FuncOp in the generic form. 2020-01-14 15:10:07 -08:00
Pass Refactor the way that pass options are specified. 2019-12-23 16:48:22 -08:00
Quantizer Convert the Canonicalize and CSE passes to generic Operation Passes. 2019-10-24 15:01:09 -07:00
SDBM Adjust License.txt file to use the LLVM license 2019-12-23 15:33:37 -08:00
Target [MLIR] LLVM Dialect: add llvm.cmpxchg and improve llvm.atomicrmw custom parser 2020-01-21 01:09:42 -08:00
Transforms [mlir] : Fix ViewOp shape folder for identity affine maps 2020-01-15 00:54:00 +00:00
Unit Add build files and update README. 2019-03-30 11:23:22 -07:00
lib [mlir] Enable specifying verify on OpInterface 2020-01-22 04:43:22 -08:00
mlir-cpu-runner [mlir] Change the syntax of AffineMapAttr and IntegerSetAttr to avoid conflicts with function types. 2020-01-13 13:24:39 -08:00
mlir-cuda-runner Add gpu.shuffle op. 2019-12-20 02:52:52 -08:00
mlir-tblgen [mlir] Swap use of to_vector() with lookupValues() in LLVMIRIntrinsicGen 2020-01-22 07:56:24 -08:00
APITest.h Adjust License.txt file to use the LLVM license 2019-12-23 15:33:37 -08:00
CMakeLists.txt [mlir][spirv] Add basic definitions for supporting availability 2019-12-27 16:25:09 -05:00
lit.cfg.py Automated rollback of commit d60133f89b 2019-11-26 08:47:48 -08:00
lit.site.cfg.py.in Automated rollback of commit d60133f89b 2019-11-26 08:47:48 -08:00