Make sure to create an emergency spill slot if we are spilling or reloading with instructions that have no immediate field. Since we need to scavenge a spare register to hold the stack address, we currently assert if there is no spare register and no emergency spill slot to which to spill an existing register.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Hi,
Could you upload you patch with the full context?
Also, could you use a MIR test? I would expect we should be able to produce a small one with the use of clobber register lists.
Cheers,
-Quentin
Comment Actions
Looks like it's fixed on trunk. Could this be fixed by: https://reviews.llvm.org/rL329691, https://reviews.llvm.org/rL329797, https://reviews.llvm.org/rL329805 and https://reviews.llvm.org/rL330976?