Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[mlir][scf] WhileOp patterns cleanup
Fix review comments from https://reviews.llvm.org/D146252 Merge `WhileRemoveUnusedArgs` pattern with (unused) `WhileUnusedArg`, use `getConditionOp`, use `SmallPtrSet` and early check, move tests Differential Revision: https://reviews.llvm.org/D148256
- Loading branch information
1 parent
684914f
commit c97b7bc
Showing
2 changed files
with
73 additions
and
106 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
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