llvm-project/mlir/test
River Riddle 01eedbc7c1 [mlir] Refactor SubElementInterface replace support
The current support was essentially the amount necessary
to support replacing SymbolRefAttrs, but suffers from various
deficiencies (both ergonomic and functional):

* Replace crashes if unsupported
 This makes it really hard to use safely, given that you don't know
 if you are going to crash or not when using it.

* Types aren't supported
This seems like a simple missed addition when the attribute replacement
support was originally added.

* The ergonomics are weird
It currently uses an index based replacement, which makes the implementations
quite clunky.

This commit refactors support to be a bit more ergonomic, and also
adds support for types in the process. This was also a great oppurtunity
to greatly simplify how replacement is done in the symbol table.

Fixes #56355

Differential Revision: https://reviews.llvm.org/D130589
2022-07-26 14:51:22 -07:00
..
Analysis [MLIR][Liveness] Add `currentlyLiveValues`, a way to get a set of values that are live as of a given operation. 2022-07-15 22:10:53 -07:00
CAPI [MLIR] Add function to create Float16 array attribute 2022-07-20 21:58:15 +00:00
Conversion [MLIR] Generic 'malloc', 'aligned_alloc' and 'free' functions 2022-07-25 15:52:51 +02:00
Dialect [mlir][transform] Add ForeachOp to transform dialect 2022-07-26 18:07:44 +02:00
Examples [mlir] Tunnel LLVM_USE_LINKER through to the standalone example build. 2022-06-05 12:31:41 -07:00
IR [mlir][Parser] Fix memory leak when failing to parse a forward declared block 2022-07-25 17:29:49 -07:00
Integration [mlir][sparse][nfc] Fix memory leak in sparse sampled matmul integration test 2022-07-25 08:55:12 +00:00
Interfaces [MLIR][SCF] Enable better bufferization for `TileConsumerAndFuseProducersUsingSCFForOp` 2022-07-21 10:14:26 +02:00
Pass [mlir] Fixed ordering of pass statistics. 2022-07-19 15:52:02 -07:00
Rewrite [mlir:PDLInterp] Refactor the implementation of result type inferrence 2022-05-01 12:25:05 -07:00
Target [mlir][spirv] Rename spv.GLSL ops to spv.GL. NFC. 2022-07-21 13:03:30 -04:00
Transforms [mlir] SCCP add missing pessimistic setting 2022-07-25 17:41:17 -07:00
Unit [lit] Fix setup of sanitizer environment 2022-05-19 19:24:16 -07:00
lib [mlir] Refactor SubElementInterface replace support 2022-07-26 14:51:22 -07:00
mlir-cpu-runner [mlir] move _mlir_alloc and friends to CRunnerUtils 2022-07-25 15:52:53 +02:00
mlir-linalg-ods-gen [mlir] Flip LinAlg dialect to _Both 2022-07-19 14:42:58 -07:00
mlir-lsp-server [mlir:LSP] Add a quickfix code action for inserting expected-* diagnostic checks 2022-07-20 15:43:59 -07:00
mlir-opt [Coroutines] Convert coroutine.presplit to enum attr 2022-06-14 14:23:46 +08:00
mlir-pdll [mlir][ods] Make Type- and AttrInterfaces also `Type`s and `Attr`s 2022-07-07 11:54:47 +02:00
mlir-pdll-lsp-server [mlir:PDLL] Add support for inlay hints 2022-06-06 20:20:19 -07:00
mlir-reduce [MLIR] prefer /bin/sh over /bin/bash for simple test scripts 2022-04-21 20:25:17 -05:00
mlir-spirv-cpu-runner [mlir][spirv] Replace StructAttrs with AttrDefs 2022-06-09 23:16:44 +00:00
mlir-tblgen [mlir] Explicitly mark dialect prefixing 2022-07-21 12:58:19 -07:00
mlir-translate [mlir][NFC] Update textual references of `func` to `func.func` in tool/runner tests 2022-04-20 22:17:30 -07:00
mlir-vulkan-runner [mlir][vulkan] Add missing '<>' in test IRs to fix test 2022-06-10 18:09:12 -04:00
python [mlir][python] Fix issue in diagnostic note initialization 2022-07-22 16:56:14 -04:00
tblgen-lsp-server [mlir:LSP] Switch document sync mode to Incremental 2022-06-06 20:20:19 -07:00
APITest.h Adjust "end namespace" comment in MLIR to match new agree'd coding style 2021-12-08 06:05:26 +00:00
CMakeLists.txt [mlir][sparse] Add complex number reading from files. 2022-06-08 13:33:35 -07:00
lit.cfg.py [mlir] Use 'native' instead of 'llvm_has_native_target' in the mlir tests 2022-05-23 12:38:24 -07:00
lit.site.cfg.py.in [mlir] Tunnel LLVM_USE_LINKER through to the standalone example build. 2022-06-05 12:31:41 -07:00