[Mlir-commits] [mlir] [mlir][Vector] Fold chains of `vector.extract` with dynamic positions (PR #228686)

Federico Bruzzone llvmlistbot at llvm.org
Sat Oct 3 03:16:20 PDT 2026


FedericoBruzzone wrote:

The following is AI-generated, but I think it might be useful.
Remaining `TODO: Canonicalization for dynamic position not implemented yet` in `VectorOps.cpp`:

| Line | Function |
|------|----------|
| 1631 | `ExtractFromInsertTransposeChainState::handleTransposeOp` |
| 1647 | `ExtractFromInsertTransposeChainState::handleInsertOpWithMatchingPos` |
| 1665 | `ExtractFromInsertTransposeChainState::handleInsertOpWithPrefixPos` |
| 1689 | `ExtractFromInsertTransposeChainState::tryToFoldExtractOpInPlace` |
| 1708 | `ExtractFromInsertTransposeChainState::fold` |
| 1899 | `foldExtractFromShapeCast` |
| 1964 | `foldExtractFromExtractStrided` |
| 2016 | `foldExtractStridedOpFromInsertChain` |

https://github.com/llvm/llvm-project/pull/228686


More information about the Mlir-commits mailing list