Re: [PATCH] match.pd: Fix up recent __builtin_bswap16 simplifications [PR101642]

2021-07-28 Thread Richard Biener
On Wed, 28 Jul 2021, Jakub Jelinek wrote: > Hi! > > The following testcase ICEs. The problem is that for __builtin_bswap16 > (and only that, others are fine) the argument of the builtin is promoted > to int while the patterns assume it is not and is the same as that of > the return type. > For t

[PATCH] match.pd: Fix up recent __builtin_bswap16 simplifications [PR101642]

2021-07-28 Thread Jakub Jelinek via Gcc-patches
Hi! The following testcase ICEs. The problem is that for __builtin_bswap16 (and only that, others are fine) the argument of the builtin is promoted to int while the patterns assume it is not and is the same as that of the return type. For the bswap simplifications before these new ones it just me