Skip to content

[TableGen] Change SubtargetFeatureInfo to use const Record pointers #108013

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

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

jurahul
Copy link
Contributor

@jurahul jurahul commented Sep 10, 2024

Change SubtargetFeatureInfo to use const Record pointers.

This is a part of effort to have better const correctness in TableGen backends:

https://discourse.llvm.org/t/psa-planned-changes-to-tablegen-getallderiveddefinitions-api-potential-downstream-breakages/81089

Change SubtargetFeatureInfo to use const Record pointers.
@jurahul jurahul marked this pull request as ready for review September 10, 2024 16:01
@jurahul jurahul merged commit 2b452b4 into llvm:main Sep 11, 2024
11 checks passed
@jurahul jurahul deleted the subtarget_const_record branch September 11, 2024 15:53
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