by_pieces: Pass MAX_PIECES to op_by_pieces_d
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 3 Aug 2021 13:17:22 +0000 (06:17 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 4 Aug 2021 13:24:46 +0000 (06:24 -0700)
commitf2e5d2717d9e249edc5e0d45e49e4f9ef81fc694
tree54475e6f05f3f48a1547ec08ae7fd3dd2bbd8ed3
parent96146e61cd7aee62c21c2845916ec42152918ab7
by_pieces: Pass MAX_PIECES to op_by_pieces_d

Pass MAX_PIECES to op_by_pieces_d::op_by_pieces_d for move, store and
compare.

PR target/101742
* expr.c (op_by_pieces_d::op_by_pieces_d): Add a max_pieces
argument to set m_max_size.
(move_by_pieces_d): Pass MOVE_MAX_PIECES to op_by_pieces_d.
(store_by_pieces_d): Pass STORE_MAX_PIECES to op_by_pieces_d.
(compare_by_pieces_d): Pass COMPARE_MAX_PIECES to op_by_pieces_d.
gcc/expr.c