torch-mlir/externals/llvm-external-projects/torch-mlir-dialects
Ramiro Leal-Cavazos dd35488da5
build: update llvm tag to 798fa4b4 (#1684)
- Support for non-prefixed accessors has been removed. See:
  https://reviews.llvm.org/D136727
- Rename `operands` to `methodOperands` in `prim.CallMethod` since the
  name `operands` overlaps with a builtin method name. See:
  https://reviews.llvm.org/D136727
- Add passes in refbackend to lower memref.subview. See:
  https://reviews.llvm.org/D136377
- Replace `CopyToValueTensorOps` first in `RewriteViewLikeSubgraph` in
  maximize-value-semantics.

  The current implementation of the `RewriteViewLikeSubgraph` pass in
  maximize-value-semantics creates temporarily invalid IR. In
  particular, given a forward slice starting from a
  `CopyToNonValueTensorOp` and ending in `CopyToValueTensorOp`s, the
  pass first replaces all uses of the `CopyToNonValueTensorOp` with
  its operand, which results in all the `CopyToValueTensorOp` users
  having their operand have type `!torch.vtensor`, which is invalid.

  The correct way to do things is to first replace all the
  `CopyToValueTensorOp`s with their operand, and then replace all uses
  of the `CopyToNonValueTensorOp` with its operand.

  This only started failing now because the generated accessor
  `getOperand` for the `CopyToValueTensorOp` now returns a
  `TypedValue<NonValueTensorType>`, which has an assert checking that
  the value returned is of the expected type.
2022-12-07 12:20:41 -08:00
..
include build: update llvm tag to 798fa4b4 (#1684) 2022-12-07 12:20:41 -08:00
lib build: update llvm tag to 798fa4b4 (#1684) 2022-12-07 12:20:41 -08:00
test build: update llvm tag to 4546397e (#1502) 2022-10-18 04:22:53 +00:00
tools build: update llvm tag to 6f46ff37 (#1448) 2022-10-05 08:28:06 -05:00
CMakeLists.txt Don't set MLIR_TABLEGEN_EXE (#1197) 2022-08-09 16:06:12 +02:00
README.md [NFC] Rename external -> externals (#699) 2022-03-26 09:12:27 -07:00

README.md

Torch-MLIR Dialects Project

Sources for torch-mlir's public dialects (containing ops/types/attributes that are unique to Torch-MLIR at the moment)

This project is intended to be used via LLVM's external projects setup:

  • -DLLVM_EXTERNAL_PROJECTS=torch-mlir-dialects
  • -DLLVM_EXTERNAL_TORCH_MLIR_DIALECTS_SOURCE_DIR={this_directory}

It depends on the mlir project.