Closed smeenai closed 3 days ago
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.
-DMLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS=ON
[1] https://mlir.llvm.org/getting_started/Debugging/#detecting-invalid-api-usage
Should we enable -DMLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS=ON in CI? Sounds like a net win!
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