Skip to content

Conversation

justinrosner
Copy link
Contributor

@justinrosner justinrosner commented Oct 7, 2025

Motivation

After we pulled llvm/llvm-project#161764 in from upstream to address a failure in the MIGraphX CI, there was some follow up work for the backend failure.

This PR pulls down these changes as well:
llvm/llvm-project#162101

Technical Details

See the upstream PR for full details of the change

Test Plan

  • Nightly CI

Test Result

  • Nightly CI

Submission Checklist

@justinrosner
Copy link
Contributor Author

Note for reviewers: this is still yet to go in to upstream, so there may be some additional changes. I opened up this PR early so that we could get ahead on some testing.

SubDef && TII.isFoldableCopy(*SubDef);
SubDef = MRI.getVRegDef(Sub->getReg())) {
unsigned SrcIdx = TII.getFoldableCopySrcIdx(*SubDef);
const int SrcIdx =
Copy link
Member

Choose a reason for hiding this comment

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

Do we have any tests that fail without this fix ?

Upstream doens't have seem to have any UT either.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

None of our tests are affected by this. The upstream PR mentions that this fixes a failing case, so I would imagine the lack of a LIT test is what's keeping it from being merged right now

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