llvm-project/mlir/test
Markus Böck 7b196f1b09 [mlir][Rewrite] Add support for using an operation with no results as location
Prior to this patch, using an operation without any results as the location would result in the generation of invalid C++ code. It'd try to format using the result values, which would would end up being an empty string for an operation without any.
This patch fixes that issue by instead using getValueAndRangeUse which handles both ranges as well as the case for an op without any results.

Differential Revision: https://reviews.llvm.org/D118885
2022-02-03 15:08:09 +01:00
..
Analysis [mlir] Move SelectOp from Standard to Arithmetic 2022-02-02 14:45:12 -08:00
CAPI [mlir][capi] Add DialectRegistry to MLIR C-API 2022-02-01 13:42:06 -07:00
Conversion [mlir] Move SelectOp from Standard to Arithmetic 2022-02-02 14:45:12 -08:00
Dialect [mlir:Standard] Remove support for creating a `unit` ConstantOp 2022-02-02 14:45:12 -08:00
Examples Re-apply "[mlir] Allow out-of-tree python building from installed MLIR." 2021-11-14 20:31:34 -08:00
IR [mlir:Standard] Remove support for creating a `unit` ConstantOp 2022-02-02 14:45:12 -08:00
Integration [mlir] Remove dangling reference to std-bufferize which got removed 2022-02-02 15:04:40 -08:00
Interfaces [MLIR] Replace std ops with arith dialect ops 2021-10-13 03:07:03 +00:00
Pass [mlir:PassOptions] Fix parsing of nested option values/better handle escaping 2022-01-26 21:37:22 -08:00
Rewrite Introduced iterative bytecode execution. 2021-11-26 18:11:37 +05:30
Target [mlir] Don't emit unused labels 2022-01-27 07:56:03 +00:00
Transforms [mlir] Move SelectOp from Standard to Arithmetic 2022-02-02 14:45:12 -08:00
Unit Revert "Attempt to disable MLIR JIT tests on PowerPC to unbreak the bot" 2021-06-29 18:03:23 -05:00
lib [mlir][Rewrite] Add support for using an operation with no results as location 2022-02-03 15:08:09 +01:00
mlir-cpu-runner [mlir] Split std.splat into tensor.splat and vector.splat 2022-02-02 14:45:12 -08:00
mlir-linalg-ods-gen [mlir][OpDSL] Rename `PrimFn` to `ArithFn`. 2022-01-07 12:38:03 +00:00
mlir-lsp-server [mlir] Drop the leading space when printing regions 2022-01-18 16:52:34 +00:00
mlir-opt [Coroutines] Set presplit attribute in Clang and mlir 2022-01-05 10:25:02 +08:00
mlir-pdll/Parser [PDLL] Add a `rewrite` statement to enable complex rewrites 2021-12-16 02:08:13 +00:00
mlir-reduce [mlir-reduce] Reducer refactor. 2021-06-02 07:45:00 +08:00
mlir-spirv-cpu-runner Fix clang-tidy issues in mlir/ (NFC) 2021-12-20 20:25:01 +00:00
mlir-tblgen [mlir][Rewrite] Add support for using an operation with no results as location 2022-02-03 15:08:09 +01:00
mlir-translate [mlir] Print the correct tool name in mlirTranslateMain 2021-01-05 19:17:01 -08:00
mlir-vulkan-runner [mlir] Replace StrEnumAttr -> EnumAttr in core dialects 2022-01-18 17:15:00 +00:00
python [mlir] Better error message in PybindAdaptors.h 2022-02-01 17:49:18 +01: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 Disable the MLIR ExecutionEngine library when the native target is not configured 2022-01-15 19:36:27 +00:00
lit.cfg.py Mark some MLIR tests as requiring the native target to be configured 2022-01-14 07:23:14 +00:00
lit.site.cfg.py.in [MLIR][GPU] Add target arguments to SerializeToHsaco 2021-11-18 16:28:44 +00:00