Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CIR][FlattenCFG] Fix rewrite API misuse (#1163)
We need to perform all erasures via the rewrite API instead of directly for the framework to work correctly. This was detected by a combination of `-DMLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS=ON` [1] and ASAN. [1] https://mlir.llvm.org/getting_started/Debugging/#detecting-invalid-api-usage
- Loading branch information