Skip to content

[mlir][TableGen] Add ability to mark builders etc. deprecated #138573

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

Open
krzysz00 opened this issue May 5, 2025 · 1 comment
Open

[mlir][TableGen] Add ability to mark builders etc. deprecated #138573

krzysz00 opened this issue May 5, 2025 · 1 comment
Labels

Comments

@krzysz00
Copy link
Contributor

krzysz00 commented May 5, 2025

It'd be nice to have some mechanism - maybe a bit deprecated = 0; in AttrOrTypeBuilder and OpBuilder that'd cause the tablegen code to emit a [[deprecated]] on the method in question, so that we can put up compiler warnings ahead of our intent to remove something

@llvmbot llvmbot added the mlir label May 5, 2025
@llvmbot
Copy link
Member

llvmbot commented May 5, 2025

@llvm/issue-subscribers-mlir

Author: Krzysztof Drewniak (krzysz00)

It'd be nice to have some mechanism - maybe a `bit deprecated = 0;` in `AttrOrTypeBuilder` and `OpBuilder` that'd cause the tablegen code to emit a `[[deprecated]]` on the method in question, so that we can put up compiler warnings ahead of our intent to remove something

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants