-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core: Fix bug in pattern rewriter when ErasedSSAValue is present (#2365)
When an operation is deleted, the pattern rewriter adds its operands with 1 use to the worklist of operations to change. This change checks that these operands are not `ErasedSSAValue`, otherwise an erased operation would be added to the worklist. I'm starting to think that the `ErasedSSAValue` design is bad, I'll be thinking of a way to change this.
- Loading branch information
Showing
2 changed files
with
38 additions
and
1 deletion.
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
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