Re: [PATCH] Fix PR89653

2019-05-02 Thread Richard Biener
On Mon, Mar 11, 2019 at 12:39 PM Richard Biener wrote: > > > The following fixes a missed vectorization of std::min() when > only one argument is a temporary. The following patch is the least > intrusive and safest one - PRE already performs the necessary > work to make this vectorizable, it's ju

[PATCH] Fix PR89653

2019-03-11 Thread Richard Biener
The following fixes a missed vectorization of std::min() when only one argument is a temporary. The following patch is the least intrusive and safest one - PRE already performs the necessary work to make this vectorizable, it's just that we end up with a dead store and clobber of a stack-local t