-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[LowerToAIE] Fix for non-deterministic error (observed with convoluti…
…on) (#694) What was happening was 1) Value/Operation inserted into IRMapping 2) IRRewriter erased Value/Op 3) New Value/Op created with same address as erased Value/Op 4) Bad state: new Value/Op is a key in IRMapping, even though it was never added. That's my analysis, at least. Either way, this change makes my failure rate go from 10/20 to 0/20. An alternative to this PR might be to postpone erasing of ops even longer, so that only after all CoreOps have been processed are the ops erased.
- Loading branch information
Showing
1 changed file
with
20 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters