Hi Bohan,

>> +    {
>> +      stmt_info = STMT_VINFO_RELATED_STMT (stmt_info);
>> +      stmt = stmt_info->stmt;
>> +      if (gimple_code (stmt) == GIMPLE_CALL)
>> +    var = gimple_call_lhs (stmt);
>> +      else
>> +    var = gimple_assign_lhs (stmt);
>> +    }
>> +
>> +  return var;
>> +}
>
> Can you use lookup_def and vect_stmt_to_vectorize + gimple_get_lhs 
> instead?  Apart from that it looks ok.

I sent this last week but the message didn't get through
[mx2.mail.aliyun.com. 106.11.232.89: timed out]

Maybe it works this time.

-- 
Regards
 Robin

Reply via email to