Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mlir][Transforms] GreedyPatternRewriteDriver: verify IR #74270

Commits on Dec 22, 2023

  1. [mlir][Transforms] GreedyPatternRewriteDriver: verify IR after patter…

    …n application
    
    This commit adds an additional "expensive check" that verifies the IR after every pattern application. (Only if `MLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS` is set.)
    
    There are currently 89 tests that are failing with this check. Many of them are in the `vector` and `SparseTensor` dialects, most of which are probably failing due to same reason. The actual number of patterns that produce invalid IR is probably in the order of 10.
    
    This commit does not fix any patterns, this is done in separate commits.
    matthias-springer committed Dec 22, 2023
    Configuration menu
    Copy the full SHA
    805f123 View commit details
    Browse the repository at this point in the history