[Mlir-commits] [mlir] [mlir][Transforms] GreedyPatternRewriteDriver: verify IR after pattern application (PR #74270)
Matthias Springer
llvmlistbot at llvm.org
Sun Dec 3 19:02:38 PST 2023
matthias-springer wrote:
Also see comment in #74271: Should we require patterns to generate valid IR? If all patterns are defined in the same component (e.g., canonicalization patterns of the same dialect) and the output is always valid, maybe intermediate invalid IR is OK. But things could get tricky when patterns from other components are mixed into the greedy pattern rewrite and stuff can suddenly break in unexpected ways.
https://github.com/llvm/llvm-project/pull/74270
More information about the Mlir-commits
mailing list