llvm-project/mlir/test
Alex Zinenko d6ea8ff0d7 [mlir] Fix translation of splat constants to LLVM IR
Summary:
When converting splat constants for nested sequential LLVM IR types wrapped in
MLIR, the constant conversion was erroneously assuming it was always possible
to recursively construct a constant of a sequential type given only one value.
Instead, wait until all sequential types are unpacked recursively before
constructing a scalar constant and wrapping it into the surrounding sequential
type.

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

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D72688
2020-01-14 12:37:47 +01: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] Create a gpu.module operation for the GPU Dialect. 2020-01-14 12:05:47 +01:00
Dialect [mlir] Create a gpu.module operation for the GPU Dialect. 2020-01-14 12:05:47 +01:00
EDSC [mlir] Change the syntax of AffineMapAttr and IntegerSetAttr to avoid conflicts with function types. 2020-01-13 13:24:39 -08:00
Examples Fixed typo in Toy tutorial (second var e -> var f) 2019-11-27 11:58:45 -08:00
IR [mlir] Add support for attaching a visibility to symbols. 2020-01-13 16:10:13 -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] Fix translation of splat constants to LLVM IR 2020-01-14 12:37:47 +01:00
Transforms [mlir] Change the syntax of AffineMapAttr and IntegerSetAttr to avoid conflicts with function types. 2020-01-13 13:24:39 -08:00
Unit Add build files and update README. 2019-03-30 11:23:22 -07:00
lib [mlir] NFC: Remove unused variable. 2020-01-13 16:15:06 -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] NFC: Remove Value::operator* and Value::operator-> now that Value is properly value-typed. 2020-01-11 08:54:39 -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