poly_int: expand_ifn_atomic_compare_exchange_into_call
commit5eaf31bb1aff5a4e91e7e3d235527a146b3db044
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Jan 2018 07:18:28 +0000 (3 07:18 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 3 Jan 2018 07:18:28 +0000 (3 07:18 +0000)
treefdd36d4cde99c5a28092606dfa451299faed8c76
parent0f913773cffb87a2b8c150232593612d6f394c92
poly_int: expand_ifn_atomic_compare_exchange_into_call

This patch makes the mode size assumptions in
expand_ifn_atomic_compare_exchange_into_call a bit more
explicit, so that a later patch can add a to_constant () call.

2018-01-03  Richard Sandiford  <richard.sandiford@linaro.org>
    Alan Hayward  <alan.hayward@arm.com>
    David Sherwood  <david.sherwood@arm.com>

gcc/
* builtins.c (expand_ifn_atomic_compare_exchange_into_call): Assert
that the mode size is in the set {1, 2, 4, 8, 16}.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@256157 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/builtins.c