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

dialects: llvm fixed parsing of nested structs #3369

Merged
merged 2 commits into from
Nov 3, 2024

Conversation

watermelonwolverine
Copy link
Contributor

@watermelonwolverine watermelonwolverine commented Oct 31, 2024

Fixes #810
The problem were nested structs.
The !llvm prefixes are omitted for inner structs by mlir-opt, even when using --mlir-print-op-generic format.

Copy link

codecov bot commented Oct 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.12%. Comparing base (604efa9) to head (0be4e89).
Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3369   +/-   ##
=======================================
  Coverage   90.12%   90.12%           
=======================================
  Files         450      450           
  Lines       56820    56822    +2     
  Branches     5459     5460    +1     
=======================================
+ Hits        51209    51211    +2     
  Misses       4167     4167           
  Partials     1444     1444           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@superlopuh
Copy link
Member

Fixes issue #issue isn't one of the accepted formats by GH, I changed it to Fixes #issue

@superlopuh superlopuh added the dialects Changes on the dialects label Oct 31, 2024
@superlopuh superlopuh merged commit bd9aaf7 into xdslproject:main Nov 3, 2024
14 checks passed
EdmundGoodman pushed a commit to EdmundGoodman/xdsl that referenced this pull request Dec 6, 2024
Fixes xdslproject#810
The problem were nested structs.
The `!llvm` prefixes are omitted for inner structs by mlir-opt, even
when using `--mlir-print-op-generic` format.

Co-authored-by: Sasha Lopoukhine <superlopuh@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dialects Changes on the dialects
Projects
None yet
Development

Successfully merging this pull request may close these issues.

dialects: Cannot parse back the LLVM dialect after passing it to MLIR
2 participants