8000 Refactor CI regalloc jobs. by xclerc · Pull Request #4148 · oxcaml/oxcaml · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Refactor CI regalloc jobs. #4148

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 4 commits into from
Jun 26, 2025
Merged

Refactor CI regalloc jobs. #4148

merged 4 commits into from
Jun 26, 2025

Conversation

xclerc
Copy link
Contributor
@xclerc xclerc commented Jun 17, 2025

This pull request is refactoring the regalloc-related
CI jobs, to try and save some time.

Since we now have a regalloc.exe tool able to run
only the register allocation passes from artifacts, we
can factor out jobs testing IRC, Linscan, and Greedy
on a similar configuration. This is done through a
new optional CI step, which simply runs all 3 allocators
on the saved artifacts.

It is not the exact same thing as running a complete
build, because it will by definition not exercise the
consequences of register allocation on later passes.
However, it feels like a reasonable compromise.
I have also not maintained a strict 1:1 of CI jobs
(in part because I think some were leftovers of a
debugging session). At the time of writing, the
refactoring deletes 6 CI jobs.

(Currently using the -debug-output only to manually
check that some work is indeed happening in the
new CI step.)

@xclerc xclerc requested a review from mshinwell June 17, 2025 10:54
@xclerc
Copy link
Contributor Author
xclerc commented Jun 17, 2025

(@mshinwell, you will need to update the list of
"expected" jobs because of renames.)

@xclerc xclerc force-pushed the ci-regalloc-jobs branch 3 times, most recently from b8383b3 to 3f3f725 Compare June 17, 2025 11:34
@xclerc
Copy link
Contributor Author
xclerc commented Jun 17, 2025

I have checked on the logs of 3f3f725
that the new step behaves as expected,
and then removed the debug output with
914ad14.

@xclerc xclerc marked this pull request as ready for review June 17, 2025 13:01
@mshinwell mshinwell added the CI Github Actions CI changes label Jun 17, 2025
@xclerc xclerc force-pushed the ci-regalloc-jobs branch from 914ad14 to e9175fa Compare June 25, 2025 15:12
@xclerc
Copy link
Contributor Author
xclerc commented Jun 25, 2025

(As of e9175fa, this pull request is
removing 9 "full" jobs, but adding the
new "register-allocation-on-artifacts",
step, which takes about 30 seconds
when run locally, to 4 jobs.)

@mshinwell mshinwell merged commit 0b0c307 into main Jun 26, 2025
22 of 23 checks passed
@mshinwell mshinwell deleted the ci-regalloc-jobs branch June 26, 2025 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Github Actions CI changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0