[PATCH] Fix up fold_convert{,ible_p}

2016-01-11 Thread Jakub Jelinek
Hi! Related to the PR69207 changes, the problem there has been that fold_convertible_p allowed conversion from a vector type to same sized integral type, and fold_convert used NOP_EXPR in that case. But, such an operation is much better handled using VCE. Bootstrapped/regtested on x86_64-linux

Re: [PATCH] Fix up fold_convert{,ible_p}

2016-01-11 Thread Richard Biener
On January 11, 2016 6:15:48 PM GMT+01:00, Jakub Jelinek wrote: >Hi! > >Related to the PR69207 changes, the problem there has been that >fold_convertible_p allowed conversion from a vector type to same sized >integral type, and fold_convert used NOP_EXPR in that case. But,