<div dir="ltr">Hi, All,<div><br></div><div>Suppose there are a huge number of registers, for example, 1024 or 4096 registers available, but the IR is relatively small. In this case the registers should satisfy the register allocation without any spill and reload. However, I see sometimes there is still spill and reload. I don't want spill and reload happening in this case. Can I just go to inlineSpiller.cpp and make function collectRegsToSpill() as an empty function? I don't fully understand what side effect can be caused. Or is there any other way to make register allocator not to spill and refill in this case? Thanks.</div><div><br></div><div>Any suggestion is appreciable. </div><div><br></div><div>Regards,</div><div><br></div><div>Xiangyang</div></div>