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

[TableGen] SubtargetEmitter must use std::nullopt #69475

Merged
merged 1 commit into from
Oct 18, 2023

Conversation

redstar
Copy link
Member

@redstar redstar commented Oct 18, 2023

Use of llvm::Optional was migrated to std::optional. This included a change in the constructor of ArrayRef.
However, there are still 2 places in the SubtargetEmitter which uses llvm::None, causing a compile error when emitted.

Use of llvm::Optional was migrated to std::optional. This included
a change in the constructor of ArrayRef.
However, there are still 2 places in the SubtargetEmitter which
uses llvm::None, causing a compile error when emitted.
@redstar redstar self-assigned this Oct 18, 2023
@EugeneZelenko EugeneZelenko removed their request for review October 18, 2023 15:34
Copy link
Collaborator

@topperc topperc left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@kazutakahirata kazutakahirata left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you for catching these!

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.

3 participants