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

Add -mlir-reproducer-before-all #402

Merged
merged 3 commits into from
Nov 25, 2024

Conversation

mgehre-amd
Copy link
Collaborator

mlir-opt %s -mlir-disable-threading -mlir-reproducer-before-all=dir -pass-pipeline='builtin.module(canonicalize,cse,func.func(canonicalize))' will write on file before each pass

0_canonicalize.mlir
1_cse.mlir
2_canonicalize.mlir

with reproducers that allow to rerun the respective pass via -run-reproducer.

@mgehre-amd mgehre-amd force-pushed the matthias.mlir-reproducer-before-all branch from bea1f6f to 6a22e77 Compare November 22, 2024 12:22
@mgehre-amd mgehre-amd force-pushed the matthias.mlir-reproducer-before-all branch from 6a22e77 to 11827f0 Compare November 22, 2024 13:34
mlir/lib/Pass/IRPrinting.cpp Outdated Show resolved Hide resolved
@mgehre-amd mgehre-amd enabled auto-merge (squash) November 25, 2024 16:33
@mgehre-amd mgehre-amd merged commit 20a6720 into feature/fused-ops Nov 25, 2024
4 checks passed
@mgehre-amd mgehre-amd deleted the matthias.mlir-reproducer-before-all branch November 25, 2024 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants