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

[CIR][Bugfix] renames minor/major parameters of the OpenCLVersionAttr #845

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

gitoleg
Copy link
Collaborator

@gitoleg gitoleg commented Sep 16, 2024

Looks like certain names should not be used - I even could not build CIR on the Ubuntu with a relatively old glibc version.
In this case minor and major are macroses and can not be used in this context.

You can take a look at the comments in the mlir/test/lib/Dialect/Test/TestDialect.h reference as well

Copy link
Member

@bcardosolopes bcardosolopes left a comment

Choose a reason for hiding this comment

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

Nice catch!

@bcardosolopes bcardosolopes merged commit 5b1ff51 into llvm:main Sep 16, 2024
6 of 7 checks passed
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