abrown opened PR #2833 from 2826 to main:
In #2826, @bjorn3 found an issue relating to
Inst::store--not all types, e.g.I16, were supported. There is no reasonInst::storeshouldn't have this functionality: the emission ofMovRMalready supports this. @bjorn3, can you provide a CLIF test to trigger the error you found?Also, to make troubleshooting easier in the future, I re-factored
lower.rsto useInst::storein all the places it previously usedInst::mov_r_m. This should make things easier to troubleshoot: only one function,Inst::store, now understands what move instruction is needed for each different CLIF type.
abrown requested cfallin for a review on PR #2833.
cfallin submitted PR Review.
cfallin merged PR #2833.
Last updated: Dec 06 2025 at 06:05 UTC