Skip to content
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

Cranelift: regalloc2: use clobbers rather than phantom defs for calls. #4027

Closed
cfallin opened this issue Apr 14, 2022 · 1 comment
Closed
Labels
cranelift:area:regalloc Issues related to register allocation. cranelift Issues related to the Cranelift code generator enhancement

Comments

@cfallin
Copy link
Member

cfallin commented Apr 14, 2022

The initial switchover to regalloc2 retains the mechanism by which calls signal clobbered physical registers, namely, via phantom defs (defs that are immediately dead and are constrained to those regs). regalloc2 has an explicit mechanism for clobbers which is a bit more precise and possibly ever-so-slightly faster (skips liveness analysis); we should use that instead. No functional correctness implications either way.

@akirilov-arm akirilov-arm added enhancement cranelift Issues related to the Cranelift code generator cranelift:area:regalloc Issues related to register allocation. labels May 10, 2022
@cfallin
Copy link
Member Author

cfallin commented Aug 2, 2022

Cleaning up old issues: this was actually fixed in #4324.

@cfallin cfallin closed this as completed Aug 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cranelift:area:regalloc Issues related to register allocation. cranelift Issues related to the Cranelift code generator enhancement
Projects
None yet
Development

No branches or pull requests

2 participants