[StableHLO] Port reduce_window to linalg lowering (#13128) This ports the reduce_window op lowering from mlir-hlo. For the details, see the initial import: https://github.com/openxla/iree/pull/12957. The code is cleaned up to match the existing StableHLO -> linalg conversion patterns. The pattern population logic is updates so that we do not depend on the order in which patterns are added -- we use pattern benefit to specify the order instead. This also moves the previously ported reduction patterns to the same file as reduce_window. Issue: https://github.com/openxla/iree/issues/12678
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.