Skip to content

⬆️ Update jeff-mlir - #2018

Draft
denialhaag wants to merge 1 commit into
mainfrom
use-serialize-to-file
Draft

⬆️ Update jeff-mlir#2018
denialhaag wants to merge 1 commit into
mainfrom
use-serialize-to-file

Conversation

@denialhaag

Copy link
Copy Markdown
Member

Description

This PR updates jeff-mlir to make use of the new signature of serializeToFile. It must remain open until PennyLaneAI/jeff-mlir#27 is merged and released.

Checklist

  • The pull request only contains commits that are focused and relevant to this change.
  • I have added appropriate tests that cover the new/changed functionality.
  • I have updated the documentation to reflect these changes.
  • I have added entries to the changelog for any noteworthy additions, changes, fixes, or removals.
  • I have added migration instructions to the upgrade guide (if needed).
  • The changes follow the project's style guidelines and introduce no new warnings.
  • The changes are fully tested and pass the CI checks.
  • I have reviewed my own code changes.

@denialhaag denialhaag self-assigned this Aug 7, 2026
@denialhaag denialhaag added enhancement Improvement of existing feature dependencies Pull requests that update a dependency file MLIR Anything related to MLIR labels Aug 7, 2026
Comment on lines 319 to +329
/**
* @brief Write serialized `jeff` bytes to an output file or standard output.
*/
static LogicalResult writeJeffOutput(ModuleOp mod, const StringRef filename) {
if (filename != "-") {
if (failed(serializeToFile(mod, filename))) {
llvm::errs() << "Failed to write jeff file '" << filename << "'.\n";
return failure();
}
return success();
}

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@burgholzer, does it even make sense to write jeff to standard output? 🤔

@codecov

codecov Bot commented Aug 7, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 40.00000% with 3 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
mlir/lib/Compiler/Programs.cpp 40.0% 3 Missing ⚠️

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file enhancement Improvement of existing feature MLIR Anything related to MLIR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant