Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix an issue with isPureMatmulProblem
There are two issues with this function: 1. It returns true when there is no for loop 2. It cannot detect for loop when there is any. The 2nd bullet is because "getOps<OpTy>() is useful to iterate on some Operations immediately listed inside a single block (or a single region)", therefore, moduleOp.getOps<scf::ForOp> will always return nothing. Instead, we use walker here to find scf.forOp in a nested fashion.
- Loading branch information