llvm-project/mlir/test
Pierre Oechsel 0acd7e02f2 [mlir] Linalg: Extend promotion to non f32 buffers.
Summary:
Linalg's promotion pass was only supporting f32 buffers due to how the
zero value was build for the `fill` operation.

Moreover, `promoteSubViewOperands` was returning a vector with one entry
per float subview while omitting integer subviews. For a program
with only integer subviews the return vector would be of size 0.
However, `promoteSubViewsOperands` would try to access a non zero
number of entries of this vector, resulting in a sefgault.

Reviewers: nicolasvasilache, ftynse

Reviewed By: ftynse

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

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74532
2020-02-17 15:56:49 +01:00
..
AffineOps [MLIR][Affine] Add affine.parallel op 2020-02-12 18:00:24 -08:00
Analysis [mlir] Update the CallGraph for nested symbol references, and simplify CallableOpInterface 2020-01-13 15:51:28 -08:00
Conversion [mlir] Fix argument attribute attribute reassignment in ConvertStandardToLLVM 2020-02-14 10:22:33 +01:00
Dialect [mlir] Linalg: Extend promotion to non f32 buffers. 2020-02-17 15:56:49 +01:00
EDSC [NFC][mlir] Adding some helpful EDSC intrinsics 2020-02-13 09:21:17 +01:00
Examples [mlir] Replace toy::DeadFunctionEliminationPass with symbolDCEPass. 2020-01-27 23:48:06 -08:00
IR [MLIR] Support memrefs with complex element types. 2020-02-12 09:07:15 +01: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 Remove static registration for dialects, and the "alwayslink" hack for passes 2020-02-12 09:13:02 +00:00
Target [mlir] [LLVMIR] add all vector reduction intrinsics to LLVM IR dialect 2020-02-10 09:19:05 -08:00
Transforms [mlir] Add MemRef filter to affine data copy optimization 2020-02-14 13:41:45 -08:00
Unit Add build files and update README. 2019-03-30 11:23:22 -07:00
lib NFC: add indexing operator for ArrayAttr 2020-02-14 22:54:37 -08:00
mlir-cpu-runner [mlir] Turn flags in ConvertStandardToLLVM into pass flags 2020-02-11 10:28:30 -08:00
mlir-cuda-runner [mlir] use unpacked memref descriptors at function boundaries 2020-02-10 15:03:43 +01:00
mlir-tblgen NFC: add indexing operator for ArrayAttr 2020-02-14 22:54:37 -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][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