sparc.c (input_operand): Accept bare CONSTANT_P_RTX operands.
* config/sparc/sparc.c (input_operand): Accept bare CONSTANT_P_RTX operands. From-SVN: r65143
This commit is contained in:
parent
28ea4c880d
commit
375ffbe622
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-04-01 Eric Botcazou <ebotcazou@libertysurf.fr>
|
||||
|
||||
* config/sparc/sparc.c (input_operand): Accept bare
|
||||
CONSTANT_P_RTX operands.
|
||||
|
||||
2003-04-01 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
|
||||
|
||||
* gcse.c (struct ls_expr): Added pattern_regs field.
|
||||
|
|
|
@ -1297,8 +1297,8 @@ input_operand (op, mode)
|
|||
if (mode != VOIDmode && GET_MODE (op) != VOIDmode && mode != GET_MODE (op))
|
||||
return 0;
|
||||
|
||||
/* Only a tiny bit of handling for CONSTANT_P_RTX is necessary. */
|
||||
if (GET_CODE (op) == CONST && GET_CODE (XEXP (op, 0)) == CONSTANT_P_RTX)
|
||||
/* Accept CONSTANT_P_RTX, since it will be gone by CSE1 and result in 0/1. */
|
||||
if (GET_CODE (op) == CONSTANT_P_RTX)
|
||||
return 1;
|
||||
|
||||
/* Allow any one instruction integer constant, and all CONST_INT
|
||||
|
|
Loading…
Add table
Reference in a new issue