Commit c145e33d by Richard Kenner

({un,}aligned_memory_operand): Check against hard_frame_pointer_rtx,

not frame_pointer_rtx.

From-SVN: r7673
parent 53693fe5
......@@ -419,7 +419,8 @@ aligned_memory_operand (op, mode)
op = XEXP (op, 0);
return (GET_CODE (op) == REG
&& (REGNO (op) == STACK_POINTER_REGNUM || op == frame_pointer_rtx
&& (REGNO (op) == STACK_POINTER_REGNUM
|| op == hard_frame_pointer_rtx
|| (REGNO (op) >= FIRST_VIRTUAL_REGISTER
&& REGNO (op) <= LAST_VIRTUAL_REGISTER)));
}
......@@ -455,7 +456,8 @@ unaligned_memory_operand (op, mode)
op = XEXP (op, 0);
return (GET_CODE (op) != REG
|| (REGNO (op) != STACK_POINTER_REGNUM && op != frame_pointer_rtx
|| (REGNO (op) != STACK_POINTER_REGNUM
&& op != hard_frame_pointer_rtx
&& (REGNO (op) < FIRST_VIRTUAL_REGISTER
|| REGNO (op) > LAST_VIRTUAL_REGISTER)));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment