Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/rubyPublic

ZJIT: Remove no-op movs after register allocation#13954

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
XrXr wants to merge2 commits intoruby:master
base:master
Choose a base branch
Loading
fromShopify:zjit-dead-movs-after-regalloc

Conversation

XrXr
Copy link
Member

@XrXrXrXr commentedJul 18, 2025
edited
Loading

Previously `no_dead_mov_from_vreg` generated:    0x0: ldur x0, [x0]    0x4: mov x0, x0    0x8: retBecause of phase ordering. Split couldn't recognize that the no-op movbecause at that point it sees a `VReg`.

Re the capstone change, it seems fairly easy to fix upstream. I'll try and toss
them a PR.
capstone-rust/capstone-rs#184

It has a bad habit of leaving a trailing space, for example for ARM`ret`.
Previously `no_dead_mov_from_vreg` generated:    0x0: ldur x0, [x0]    0x4: mov x0, x0    0x8: retBecause of phase ordering. Split couldn't recognize that the no-op movbecause at that point it sees a `VReg`.
@matzbotmatzbot requested a review froma teamJuly 18, 2025 19:42
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@st0012st0012st0012 approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@XrXr@st0012

[8]ページ先頭

©2009-2025 Movatter.jp