<div>Hi!</div>
<div> </div>
<div>Could someone tell me the reason why allocation_order_begin method of TargetRegisterClass class takes a non-const reference to MachineFunction? I can't imagine why this method will change function and didn't find any override within llvm source which uses non-const methods of the MF parameter.
</div>
<div> </div>
<div>Just run into compiler error because I passed a const reference to the method.</div>
<div> </div>
<div>Best regards,</div>
<div> </div>
<div>Tony.</div>