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

[DebugInfo] Fix EnumClass support #2876

Merged
merged 1 commit into from
Dec 6, 2024

Conversation

bwlodarcz
Copy link
Contributor

This commit addresses issues with EnumClass handling in DebugEnumType.
In reverse translation, a bug caused the EnumClass flag to be incorrectly applied to every DebugEnumType with an UnderlyingType.
Additionally, in forward translation, the support for EnumClassFlag was missing entirely.

Copy link
Contributor

@MrSidims MrSidims left a comment

Choose a reason for hiding this comment

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

Changes are LGTM, can we have a LIT for this?

@bwlodarcz
Copy link
Contributor Author

bwlodarcz commented Dec 3, 2024

@MrSidims We have such test in test/DebugInfo/X86/enum-class.ll.

@MrSidims MrSidims merged commit 50af2c7 into KhronosGroup:main Dec 6, 2024
9 checks passed
matborzyszkowski pushed a commit to matborzyszkowski/SPIRV-LLVM-Translator that referenced this pull request Dec 17, 2024
This commit addresses issues with EnumClass handling in DebugEnumType.
In reverse translation, a bug caused the EnumClass flag to be incorrectly applied to every DebugEnumType with an UnderlyingType.
Additionally, in forward translation, the support for EnumClassFlag was missing entirely.
matborzyszkowski added a commit to matborzyszkowski/SPIRV-LLVM-Translator that referenced this pull request Dec 17, 2024
This commit addresses issues with EnumClass handling in DebugEnumType.
In reverse translation, a bug caused the EnumClass flag to be incorrectly applied to every DebugEnumType with an UnderlyingType.
Additionally, in forward translation, the support for EnumClassFlag was missing entirely.
matborzyszkowski added a commit to matborzyszkowski/SPIRV-LLVM-Translator that referenced this pull request Dec 17, 2024
This commit addresses issues with EnumClass handling in DebugEnumType.
In reverse translation, a bug caused the EnumClass flag to be incorrectly applied to every DebugEnumType with an UnderlyingType.
Additionally, in forward translation, the support for EnumClassFlag was missing entirely.
matborzyszkowski added a commit to matborzyszkowski/SPIRV-LLVM-Translator that referenced this pull request Dec 17, 2024
This commit addresses issues with EnumClass handling in DebugEnumType.
In reverse translation, a bug caused the EnumClass flag to be incorrectly applied to every DebugEnumType with an UnderlyingType.
Additionally, in forward translation, the support for EnumClassFlag was missing entirely.
matborzyszkowski added a commit to matborzyszkowski/SPIRV-LLVM-Translator that referenced this pull request Dec 17, 2024
This commit addresses issues with EnumClass handling in DebugEnumType.
In reverse translation, a bug caused the EnumClass flag to be incorrectly applied to every DebugEnumType with an UnderlyingType.
Additionally, in forward translation, the support for EnumClassFlag was missing entirely.
matborzyszkowski added a commit to matborzyszkowski/SPIRV-LLVM-Translator that referenced this pull request Dec 17, 2024
This commit addresses issues with EnumClass handling in DebugEnumType.
In reverse translation, a bug caused the EnumClass flag to be incorrectly applied to every DebugEnumType with an UnderlyingType.
Additionally, in forward translation, the support for EnumClassFlag was missing entirely.
matborzyszkowski added a commit to matborzyszkowski/SPIRV-LLVM-Translator that referenced this pull request Dec 17, 2024
This commit addresses issues with EnumClass handling in DebugEnumType.
In reverse translation, a bug caused the EnumClass flag to be incorrectly applied to every DebugEnumType with an UnderlyingType.
Additionally, in forward translation, the support for EnumClassFlag was missing entirely.
matborzyszkowski added a commit to matborzyszkowski/SPIRV-LLVM-Translator that referenced this pull request Dec 17, 2024
This commit addresses issues with EnumClass handling in DebugEnumType.
In reverse translation, a bug caused the EnumClass flag to be incorrectly applied to every DebugEnumType with an UnderlyingType.
Additionally, in forward translation, the support for EnumClassFlag was missing entirely.
vmaksimo pushed a commit that referenced this pull request Dec 20, 2024
This commit addresses issues with EnumClass handling in DebugEnumType.
In reverse translation, a bug caused the EnumClass flag to be incorrectly applied to every DebugEnumType with an UnderlyingType.
Additionally, in forward translation, the support for EnumClassFlag was missing entirely.
vmaksimo pushed a commit that referenced this pull request Dec 20, 2024
This commit addresses issues with EnumClass handling in DebugEnumType.
In reverse translation, a bug caused the EnumClass flag to be incorrectly applied to every DebugEnumType with an UnderlyingType.
Additionally, in forward translation, the support for EnumClassFlag was missing entirely.
vmaksimo pushed a commit that referenced this pull request Dec 20, 2024
This commit addresses issues with EnumClass handling in DebugEnumType.
In reverse translation, a bug caused the EnumClass flag to be incorrectly applied to every DebugEnumType with an UnderlyingType.
Additionally, in forward translation, the support for EnumClassFlag was missing entirely.
vmaksimo pushed a commit that referenced this pull request Dec 20, 2024
This commit addresses issues with EnumClass handling in DebugEnumType.
In reverse translation, a bug caused the EnumClass flag to be incorrectly applied to every DebugEnumType with an UnderlyingType.
Additionally, in forward translation, the support for EnumClassFlag was missing entirely.
vmaksimo pushed a commit that referenced this pull request Dec 20, 2024
This commit addresses issues with EnumClass handling in DebugEnumType.
In reverse translation, a bug caused the EnumClass flag to be incorrectly applied to every DebugEnumType with an UnderlyingType.
Additionally, in forward translation, the support for EnumClassFlag was missing entirely.
vmaksimo pushed a commit that referenced this pull request Dec 20, 2024
This commit addresses issues with EnumClass handling in DebugEnumType.
In reverse translation, a bug caused the EnumClass flag to be incorrectly applied to every DebugEnumType with an UnderlyingType.
Additionally, in forward translation, the support for EnumClassFlag was missing entirely.
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