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

Replace op->erase() with rewriter.eraseOp #1009

Merged
merged 1 commit into from
Feb 9, 2025
Merged

Conversation

rengolin
Copy link
Contributor

@rengolin rengolin commented Feb 8, 2025

@rengolin rengolin requested a review from arun-thmn February 8, 2025 21:32
@arun-thmn arun-thmn added the benchmark-full Benchmark all targets label Feb 9, 2025
Copy link
Contributor

@arun-thmn arun-thmn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rengolin Ah okay. Thanks.
Is this option introduced newly to MLIR, or it does exists already and I missed it?

@rengolin
Copy link
Contributor Author

rengolin commented Feb 9, 2025

Is this option introduced newly to MLIR, or it does exists already and I missed it?

It's old, but easy to miss, because both ways are exposed but you only know you're not supposed to use the other one by reading a document. Not great API design. :)

@rengolin rengolin merged commit 32acfc9 into libxsmm:main Feb 9, 2025
14 checks passed
@rengolin rengolin deleted the fix branch February 9, 2025 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
benchmark-full Benchmark all targets
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants