Hi,
The recent changes for PR 52171 didn't update the users of the renamed
function 'move_by_pieces_ninsns'. The attached patch fixes this.
Tested with "make all". Committed as r237090.
Cheers,
Oleg
gcc/ChangeLog:
PR tree-optimization/52171
* config/sh/sh.c (sh_use_by_pieces_infrastructure_p): Use
by_pieces_ninsns instead of move_by_pieces_ninsns.
Index: gcc/config/sh/sh.c
===================================================================
--- gcc/config/sh/sh.c (revision 237089)
+++ gcc/config/sh/sh.c (working copy)
@@ -12506,11 +12506,11 @@
switch (op)
{
case MOVE_BY_PIECES:
- return move_by_pieces_ninsns (size, align, MOVE_MAX_PIECES + 1)
+ return by_pieces_ninsns (size, align, MOVE_MAX_PIECES + 1, op)
< (!speed_p ? 2 : (align >= 32) ? 16 : 2);
case STORE_BY_PIECES:
case SET_BY_PIECES:
- return move_by_pieces_ninsns (size, align, STORE_MAX_PIECES + 1)
+ return by_pieces_ninsns (size, align, STORE_MAX_PIECES + 1, op)
< (!speed_p ? 2 : (align >= 32) ? 16 : 2);
default:
return default_use_by_pieces_infrastructure_p (size, align,