commit | 91099ae490722f3db472f63979561aec9f595bed | [log] [tgz] |
---|---|---|
author | Simon Camphausen <simon.camphausen@iml.fraunhofer.de> | Fri Aug 11 01:03:26 2023 +0200 |
committer | GitHub <noreply@github.com> | Thu Aug 10 16:03:26 2023 -0700 |
tree | 12cdc8e58a34f2909feede7ece9628c3fd568afe | |
parent | ca51caa593e727adf1a995d69c5ed94b95da8bdb [diff] |
Initialize results of buffer.load.* ops to zero. (#14589) This works around warnings about maybe uninitialized values generated by gcc by initializing result variables to zero before their addresses to . Older versions of gcc seem to be unable to follow writes to uninitialized values across conditional control flow like ```C A: int result; int *resultPtr; bool failure; ... X: /* result = 0; */ // Zero initialization added in this PR resultPtr = &result; failure = tryWrite(resultPtr, ...); // resultPtr is written iff this returns false if (failure) goto Y; else goto Z; Y: return; Z: use(result); ```
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.