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

Reconcile unrealized parser casts to pr.cast #763

Merged
merged 5 commits into from
Jan 15, 2025

Conversation

xlauko
Copy link
Member

@xlauko xlauko commented Jan 15, 2025

  • adds -vast-parser-reconcile-casts pass to eliminate intermediate unrealized casts to pr.cast
  • adds simple folds for parse operations

@xlauko xlauko added the parser label Jan 15, 2025
@xlauko xlauko requested a review from Jezurko January 15, 2025 13:05
@xlauko xlauko self-assigned this Jan 15, 2025
Copy link
Contributor

Cpp-Linter Report ⚠️

Some files did not pass the configured checks!

clang-format (v19.1.1) reports: 4 file(s) not formatted
  • lib/vast/Conversion/Parser/ReconcileCasts.cpp
  • lib/vast/Conversion/Parser/ToParser.cpp
  • lib/vast/Conversion/Parser/Utils.hpp
  • lib/vast/Dialect/Parser/Ops.cpp
clang-tidy (v19.1.1) reports: 1 concern(s)
  • include/vast/Conversion/Parser/Passes.hpp:20:14: error: [clang-diagnostic-error]

    'vast/Conversion/Parser/Passes.h.inc' file not found

       20 |     #include "vast/Conversion/Parser/Passes.h.inc"
          |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Have any feedback or feature suggestions? Share it here.

@xlauko xlauko merged commit 19cbd7d into master Jan 15, 2025
8 checks passed
@xlauko xlauko deleted the xlauko/parser-reconcile-casts branch January 15, 2025 13:29
@xlauko xlauko restored the xlauko/parser-reconcile-casts branch January 15, 2025 13:29
@xlauko xlauko deleted the xlauko/parser-reconcile-casts branch January 15, 2025 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant