llvm-project/mlir/lib
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][Presburger] Simplify checkExplicitRepresentation 2022-02-02 20:20:16 +05:30
Bindings/Python [mlir][python] 8b/16b DenseIntElements access 2022-01-21 05:21:09 +00:00
CAPI [mlir][capi] Add DialectRegistry to MLIR C-API 2022-02-01 13:42:06 -07:00
Conversion [mlir:Standard] Remove support for creating a `unit` ConstantOp 2022-02-02 14:45:12 -08:00
Dialect [mlir][vector] Sink StandardOps include to its user in VectorUtils 2022-02-03 12:34:41 +01:00
ExecutionEngine [async] Get the number of worker threads from the runtime. 2022-01-31 12:06:01 -08:00
IR [mlir][NFC] Update remaining dialect operations to use `hasVerifier` instead of `verifier` 2022-02-02 13:34:31 -08:00
Interfaces [mlir] Add isa/dyn_cast support for dialect interfaces 2022-01-31 19:24:34 -08:00
Parser [mlir] Silence warnings when building with MSVC 2022-01-30 17:31:35 -05:00
Pass [mlir][NFC] Add a using for llvm::SMLoc/llvm::SMRange to LLVM.h 2022-01-26 21:37:23 -08:00
Reducer Apply clang-tidy fixes for performance-move-const-arg in ReductionNode.cpp (NFC) 2022-01-10 01:05:14 +00:00
Rewrite [MLIR][PDL] Integration test of multi-root matching and related fixes. 2022-01-04 08:03:45 +05:30
Support Replace OwningModuleRef with OwningOpRef<ModuleOp> 2022-01-30 14:07:10 -08:00
TableGen [mlir][Rewrite] Add support for using an operation with no results as location 2022-02-03 15:08:09 +01:00
Target [mlir:Standard] Remove support for creating a `unit` ConstantOp 2022-02-02 14:45:12 -08:00
Tools [mlir][NFC] Add a using for llvm::SMLoc/llvm::SMRange to LLVM.h 2022-01-26 21:37:23 -08:00
Transforms [mlir:Transforms] Move out the remaining non-dialect independent transforms and utilities 2022-01-24 19:25:53 -08:00
Translation Replace OwningModuleRef with OwningOpRef<ModuleOp> 2022-01-30 14:07:10 -08:00
CMakeLists.txt [mlir] Ensure a newline at the end of a file (NFC) 2022-01-23 13:59:59 -08:00