| commit | 160349188b58b2704fd9f26ee6c1f7a8e2811cd2 | [log] [tgz] |
|---|---|---|
| author | MaheshRavishankar <1663364+MaheshRavishankar@users.noreply.github.com> | Tue Jan 10 12:48:28 2023 -0800 |
| committer | GitHub <noreply@github.com> | Tue Jan 10 20:48:28 2023 +0000 |
| tree | cd9a0bed92dc4048b179b0840b24214a80d9e2d7 | |
| parent | 533c2464dc0cc5429a57b3c22a69826007f91a08 [diff] |
Add patterns to fold `tensor.empty` with `tensor.collapse_expand/shape`. (#11771) Without these patterns, we end up with sequences like ``` %0 = tensor.empty ... %1 = tensor.collapse_shape %0 ... ``` which dont get pulled into dispatch regions since `tensor.collapse_shapes` arent pulled into dispatch regions. With the patterns the `tensor.collapse_shape` fold away, avoiding `tensor.empty()` being left outside. Fixes #11770 Fixes https://github.com/iree-org/iree/issues/11770
IREE (Intermediate Representation Execution Environment, pronounced as “eerie”) is an MLIR-based end-to-end compiler and runtime that lowers Machine Learning (ML) models to a unified IR that scales up to meet the needs of the datacenter and down to satisfy the constraints and special considerations of mobile and edge deployments.
See our website for project details, user guides, and instructions on building from source.
IREE is still in its early phase. We have settled down on the overarching infrastructure and are actively improving various software components as well as project logistics. It is still quite far from ready for everyday use and is made available without any support at the moment. With that said, we welcome any kind of feedback on any communication channels!
See our website for more information.
IREE is licensed under the terms of the Apache 2.0 License with LLVM Exceptions. See LICENSE for more information.