Revert "i386: Simplify PARALLEL RTX scan in ix86_find_all_reg_use"
This reverts commit 565d4e7554
.
This commit is contained in:
parent
49bc1cf6c6
commit
0312d11be3
1 changed files with 25 additions and 3 deletions
|
@ -8538,9 +8538,31 @@ ix86_find_all_reg_use (HARD_REG_SET &stack_slot_access,
|
|||
for (int i = 0; i < XVECLEN (pat, 0); i++)
|
||||
{
|
||||
rtx exp = XVECEXP (pat, 0, i);
|
||||
|
||||
if (GET_CODE (exp) == SET)
|
||||
ix86_find_all_reg_use_1 (exp, stack_slot_access, worklist);
|
||||
switch (GET_CODE (exp))
|
||||
{
|
||||
case ASM_OPERANDS:
|
||||
case CLOBBER:
|
||||
case PREFETCH:
|
||||
case USE:
|
||||
break;
|
||||
case UNSPEC:
|
||||
case UNSPEC_VOLATILE:
|
||||
for (int j = XVECLEN (exp, 0) - 1; j >= 0; j--)
|
||||
{
|
||||
rtx x = XVECEXP (exp, 0, j);
|
||||
if (GET_CODE (x) == SET)
|
||||
ix86_find_all_reg_use_1 (x, stack_slot_access,
|
||||
worklist);
|
||||
}
|
||||
break;
|
||||
case SET:
|
||||
ix86_find_all_reg_use_1 (exp, stack_slot_access,
|
||||
worklist);
|
||||
break;
|
||||
default:
|
||||
gcc_unreachable ();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue