Skip to content

Integrate llvm-project@587d6fcbb685e3a57 #20948

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

Merged
merged 2 commits into from
May 31, 2025

Conversation

hanhanW
Copy link
Contributor

@hanhanW hanhanW commented May 30, 2025

Carrying revert:

Cherry-pick:

The revision also fixes torch-mlir for getBackwardSlice changes: iree-org/torch-mlir@05a9860

The changes in IREE are for llvm/llvm-project@6a8dde0

Closes #20928

hanhanW added 2 commits May 29, 2025 19:23
Signed-off-by: hanhanW <hanhan0912@gmail.com>
Signed-off-by: hanhanW <hanhan0912@gmail.com>
@hanhanW
Copy link
Contributor Author

hanhanW commented May 30, 2025

Expose the visibility for others on future integration duties: #20645 (comment) (and the following comment in the issue) provide the idea to drop the last revert. I don't have enough cycles to implement it. I can come back to it maybe after 2 weeks. I can prioritize it or provide guidance if it becomes a blocker.

@hanhanW hanhanW merged commit 40fcd35 into main May 31, 2025
47 checks passed
@hanhanW hanhanW deleted the integrates/llvm-20250530-cherry-pick-fixes branch May 31, 2025 03:11
@@ -45,7 +45,9 @@ static LogicalResult captureUsedOperationsAndBlockArguements(
auto yieldOp = cast<linalg::YieldOp>(linalgOp.getBlock()->getTerminator());
Value result = yieldOp.getOperand(resultNumber);

getBackwardSlice(result, &usedOperations, options);
[[maybe_unused]] LogicalResult ret =
Copy link
Member

Choose a reason for hiding this comment

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

nit: llvm had a discussion on using maybe_unsuded vs. casting to void and decided on sticking to the latter: https://discourse.llvm.org/t/maybe-unused-vs-attribute-unused-vs-void-var-for-assert-variables/64212

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, I did not know this! I don't really follow why the conclusion is sticking to the latter. It seems that there is not enough data to say which option wins? I don't have a preference, and I'm okay with both. The reason that I use maybe_unused is just because it looks more modern and descriptive. It looks friendly to people who don't use c++ as their daily programming language, IMO.

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.

[Integrate] Crash in pipeline_arm_sme_streaming_mode_tests
3 participants