Skip to content

23.x [RISCV] Scheduling/Fusion Patches - #561

Merged
Sam Elliott (lenary) merged 1 commit into
qualcomm:release/qualcomm-software/23.xfrom
lenary:pr/23.x/scheduling-patches
Aug 6, 2026
Merged

23.x [RISCV] Scheduling/Fusion Patches#561
Sam Elliott (lenary) merged 1 commit into
qualcomm:release/qualcomm-software/23.xfrom
lenary:pr/23.x/scheduling-patches

Conversation

@lenary

@lenary Sam Elliott (lenary) commented Jul 31, 2026

Copy link
Copy Markdown
Member

@lenary Sam Elliott (lenary) changed the title 23.x [RISCV] Scheduling Patches 23.x [RISCV] Scheduling/Fusion Patches Jul 31, 2026
@lenary
Sam Elliott (lenary) force-pushed the pr/23.x/scheduling-patches branch from d4a8184 to a26f37a Compare July 31, 2026 20:24
@lenary Sam Elliott (lenary) added this to the Release 23.x milestone Jul 31, 2026
@lenary

Copy link
Copy Markdown
Member Author

This is not mergeable until the LTO+Linker Scripts is mergeable, but for the moment I'm using this to get a draft toolchain for testing by Harsh.

@lenary

Copy link
Copy Markdown
Member Author

This is not mergeable until the LTO+Linker Scripts is mergeable, but for the moment I'm using this to get a draft toolchain for testing by Harsh.

This is not strictly true. I'm going to rebase the PR to get rid of the LTO+Linker Scripts once the fusions are all working correctly.

This adds to patches corresponding to upstream patches:
- llvm/llvm-project#203139 (and its follow-up fix, llvm/llvm-project#209934)
- llvm/llvm-project#209542 (and its follow-up fix, llvm/llvm-project#213815)

Both were rejected by the upstream release managers.

Signed-off-by: Sam Elliott <aelliott@qti.qualcomm.com>
@lenary
Sam Elliott (lenary) force-pushed the pr/23.x/scheduling-patches branch from 661c1fc to 026ecee Compare August 4, 2026 21:17
@lenary

Copy link
Copy Markdown
Member Author

These have been tested on internal workloads and are working.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can't comment on the patches themselves, but LGTM as far as adding the patchfiles, etc.

@lenary

Sam Elliott (lenary) commented Aug 5, 2026

Copy link
Copy Markdown
Member Author

Doing some internal build runs of this.

@lenary

Copy link
Copy Markdown
Member Author

Internal runs came back clean.

@lenary

Copy link
Copy Markdown
Member Author

We're going to do a few more specialised internal runs to check we don't get more crashes.

@pgodeq Pankaj Gode (pgodeq) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Sam had shared the build artifact to run test runs. They look clean.
I had also used updated wrappers/clang-config files. Included the tune flags for latency and fusion, in the clang-config files, as well.

@lenary
Sam Elliott (lenary) merged commit 62a670c into qualcomm:release/qualcomm-software/23.x Aug 6, 2026
14 checks passed
@lenary
Sam Elliott (lenary) deleted the pr/23.x/scheduling-patches branch August 6, 2026 23:00
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