AAndrzej Warzynski[mlir][docs][nfc] Fix markdown link
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
mlir/tblgen: use std::optional in generation This is part of an effort to migrate from llvm::Optional to std::optional. This patch changes the way mlir-tblgen generates .inc files, and modifies tests and documentation appropriately. It is a "no compromises" patch, and doesn't leave the user with an unpleasant mix of llvm::Optional and std::optional. A non-trivial change has been made to ControlFlowInterfaces to split one constructor into two, relating to a build failure on Windows. See also: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716 Signed-off-by: Ramkumar Ramachandra <r@artagnon.com> Differential Revision: https://reviews.llvm.org/D138934 | 3 年前 | |
issue#62488: Correct some syntax errors. Leave location and custom-operation-format unchanged, because I'm not sure. Reviewed By: Mogball Differential Revision: https://reviews.llvm.org/D149810 | 3 年前 | |
[mlir] Add a builtin distinct attribute A distinct attribute associates a referenced attribute with a unique identifier. Every call to its create function allocates a new distinct attribute instance. The address of the attribute instance temporarily serves as its unique identifier. Similar to the names of SSA values, the final unique identifiers are generated during pretty printing. Examples: #distinct = distinct[0]<42.0 : f32> #distinct1 = distinct[1]<42.0 : f32> #distinct2 = distinct[2]<array<i32: 10, 42>> This mechanism is meant to generate attributes with a unique identifier, which can be used to mark groups of operations that share a common properties such as if they are aliasing. The design of the distinct attribute ensures minimal memory footprint per distinct attribute since it only contains a reference to another attribute. All distinct attributes are stored outside of the storage uniquer in a thread local store that is part of the context. It uses one bump pointer allocator per thread to ensure distinct attributes can be created in-parallel. Reviewed By: rriddle, Dinistro, zero9178 Differential Revision: https://reviews.llvm.org/D153360 | 2 年前 | |
[mlir] Rename the Standard dialect to the Func dialect The last remaining operations in the standard dialect all revolve around FuncOp/function related constructs. This patch simply handles the initial renaming (which by itself is already huge), but there are a large number of cleanups unlocked/necessary afterwards: * Removing a bunch of unnecessary dependencies on Func * Cleaning up the From/ToStandard conversion passes * Preparing for the move of FuncOp to the Func dialect See the discussion at https://discourse.llvm.org/t/standard-dialect-the-final-chapter/6061 Differential Revision: https://reviews.llvm.org/D120624 | 4 年前 | |
Add TOC to GPU.md | 3 年前 | |
[mlir] warn about passthrough in LLVM dialect doc This mechanism has never been intended for anything but prototyping. | 3 年前 | |
[MLIR] Replace std ops with arith dialect ops Precursor: https://reviews.llvm.org/D110200 Removed redundant ops from the standard dialect that were moved to the arith or math dialects. Renamed all instances of operations in the codebase and in tests. Reviewed By: rriddle, jpienaar Differential Revision: https://reviews.llvm.org/D110797 | 4 年前 | |
[mlir][docs] Group the docs for defining dialect components This moves the documentation for defining dialects, attributes/types, and operations into a new DefiningDialects folder. This helps to keep the documentation grouped together, making it easier to find related documentation. Differential Revision: https://reviews.llvm.org/D137594 | 3 年前 | |
[mlir][NFC] Update textual references of func to func.func in examples+python scripts The special case parsing of func operations is being removed. | 4 年前 | |
[mlir][tosa] Remove tosa.identityn operator Removes the identityn operator from TOSA MLIR definition. Removes TosaToLinAlg mappings Reviewed By: rsuderman Differential Revision: https://reviews.llvm.org/D102329 | 5 年前 | |
[mlir][docs][nfc] Fix markdown link | 2 年前 | |
[mlir][arith] Change dialect name from Arithmetic to Arith Suggested by @lattner in https://discourse.llvm.org/t/rfc-define-precise-arith-semantics/65507/22. Tested with: ninja check-mlir check-mlir-integration check-mlir-mlir-spirv-cpu-runner check-mlir-mlir-vulkan-runner check-mlir-examples and bazel build --config=generic_clang @llvm-project//mlir:all. Reviewed By: lattner, Mogball, rriddle, jpienaar, mehdi_amini Differential Revision: https://reviews.llvm.org/D134762 | 3 年前 | |
[mlir][docs] Group the docs for defining dialect components This moves the documentation for defining dialects, attributes/types, and operations into a new DefiningDialects folder. This helps to keep the documentation grouped together, making it easier to find related documentation. Differential Revision: https://reviews.llvm.org/D137594 | 3 年前 | |
[mlir][emitc] Adapt to move of FuncOp Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D122305 | 4 年前 |