rs6000: Fix fake vec_promote overload
commitdfedfc304ad2159acbff1d89e707e359e97353bf
authorBill Schmidt <wschmidt@linux.ibm.com>
Fri, 17 Dec 2021 16:39:00 +0000 (17 10:39 -0600)
committerBill Schmidt <wschmidt@linux.ibm.com>
Fri, 17 Dec 2021 16:39:00 +0000 (17 10:39 -0600)
tree090f452dd7c95e6780ec07c7d86aea0bb681d946
parent9315f02b1bc6e5a3a247a33e673281f061ef2e32
rs6000: Fix fake vec_promote overload

rs6000-overload.def defines one instance of vec_promote so that it can be
registered with the front end.  Actual expansion of the vec_promote overload
is done with special-case code in rs6000-c.c.  During another cleanup, I
observed that the fake instance has the wrong number of arguments.  Fix that.

2021-12-17  Bill Schmidt  <wschmidt@linux.ibm.com>

gcc/
* config/rs6000/rs6000-overload.def (__builtin_vec_promote): Add second
argument.
gcc/config/rs6000/rs6000-overload.def