Skip to content

fix(parser): accept shorthand LLVM byte types - #1356

Merged
tobiasgrosser merged 1 commit into
opencompl:mainfrom
sueszli:fix/llvm-nested-byte-type
Sep 27, 2026
Merged

tobiasgrosser merged 1 commit into
opencompl:mainfrom
sueszli:fix/llvm-nested-byte-type

Conversation

@sueszli

@sueszli sueszli commented Sep 3, 2026 •

Copy link
Copy Markdown
Contributor

Part of #952.

MLIR introduced !llvm.byte<N> in llvm/llvm-project@e559d43. Its PrettyLLVMType dispatch accepts bare byte<N>, and !llvm.array uses that directive for its element type. byte is omitted from the issue checklist.

This makes:

!llvm.array<2 x byte<8>>

equivalent to !llvm.array<2 x !llvm.byte<8>>.

@sueszli
sueszli force-pushed the fix/llvm-nested-byte-type branch 2 times, most recently from c44889f to 1ba401b Compare September 7, 2026 11:32

@math-fehr math-fehr left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I missed this sorry, but all good, just fix the merge commits and we can merge it!

@sueszli
sueszli force-pushed the fix/llvm-nested-byte-type branch from 1ba401b to 3b49240 Compare September 17, 2026 08:51
@sueszli

sueszli commented Sep 17, 2026

Copy link
Copy Markdown
Contributor Author

Awesome, yeah, i just rebased :)
Thanks for reviweing @math-fehr

@tobiasgrosser

Copy link
Copy Markdown
Collaborator

Nice. Let me merge this!

@tobiasgrosser
tobiasgrosser added this pull request to the merge queue Sep 27, 2026
Merged via the queue into opencompl:main with commit 495f774 Sep 27, 2026
6 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.

3 participants