Re: [3/n] PR85694: Fix dummy assignment handling in vectorizable_call

2018-06-19 Thread Richard Biener
On Mon, Jun 18, 2018 at 4:54 PM Richard Sandiford wrote: > > vectorizable_call stubs out the original scalar statement with > a dummy assignment to the same lhs, so that we don't leave any bogus > scalar calls around. If the call is actually a pattern statement, > the code rightly took the lhs of

[3/n] PR85694: Fix dummy assignment handling in vectorizable_call

2018-06-18 Thread Richard Sandiford
vectorizable_call stubs out the original scalar statement with a dummy assignment to the same lhs, so that we don't leave any bogus scalar calls around. If the call is actually a pattern statement, the code rightly took the lhs of the original bb statement: if (is_pattern_stmt_p (stmt_info))