Re: [PATCH] Fix PR 110554: vec lowering introduces scalar signed-boolean:32 comparisons

2023-07-05 Thread Richard Biener via Gcc-patches
On Wed, Jul 5, 2023 at 7:02 PM Andrew Pinski via Gcc-patches wrote: > > So the problem is vector generic decided to do comparisons in > signed-boolean:32 > types but the rest of the middle-end was not ready for that. Since we are > building > the comparison which will feed into a cond_expr here,

[PATCH] Fix PR 110554: vec lowering introduces scalar signed-boolean:32 comparisons

2023-07-05 Thread Andrew Pinski via Gcc-patches
So the problem is vector generic decided to do comparisons in signed-boolean:32 types but the rest of the middle-end was not ready for that. Since we are building the comparison which will feed into a cond_expr here, using boolean_type_node is better and also correct. The rest of the compiler thin