Re: [PATCH] Fix vect_look_through_possible_promotion (PR tree-optimization/87546)

2018-11-16 Thread Richard Biener
On November 16, 2018 10:23:33 PM GMT+01:00, Jakub Jelinek wrote: >Hi! > >The documentation for this function says that it wants to go through >all >(integral) conversions (both promotions and demotions), as long as the >whole sequence of conversions is functionally equivalent to >(optionally) >ca

[PATCH] Fix vect_look_through_possible_promotion (PR tree-optimization/87546)

2018-11-16 Thread Jakub Jelinek
Hi! The documentation for this function says that it wants to go through all (integral) conversions (both promotions and demotions), as long as the whole sequence of conversions is functionally equivalent to (optionally) casting the returned value to a signed or unsigned type with the same precisi