/* Make sure that we're not trying to eliminate to the wrong hard frame pointer. */ static bool riscv_can_eliminate (const int from ATTRIBUTE_UNUSED, const int to) { return (to == HARD_FRAME_POINTER_REGNUM || to == STACK_POINTER_REGNUM); }