elliottt commented on issue #6246:
I'm curious whether the
gen_movehelper is still necessary too, but at a quick glance the five existing uses look plausibly like they might be important.I was wondering the same thing. We'd need to preserve the cases where the move changes the register class, but other than that we could probably turn it into a no-op. Refactoring it so that it returned the destination would help here, though that function might also be used in the emit code, which complicates things a bit.
jameysharp commented on issue #6246:
There's
Inst::gen_movewhich is used inemit.rs, but I believe that's entirely unrelated to thegen_moveininst/mod.rs. So I think we're in good shape there.
Last updated: Dec 06 2025 at 06:05 UTC