https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113134
--- Comment #3 from JuzheZhong <juzhe.zhong at rivai dot ai> ---
Thanks Tamar. And I agree with you. This is not supposed to let early break to
handle that. It should be optimization on scalar IR instead of loop
vectorizer.
I believe it is GCC-15 topic.
Btw, I am trying to enable early break on RISC-V port. But I failed to do that
since this following codes look quite to length target:
if (LOOP_VINFO_CAN_USE_PARTIAL_VECTORS_P (loop_vinfo))
{
if (direct_internal_fn_supported_p (IFN_VCOND_MASK_LEN, vectype,
OPTIMIZE_FOR_SPEED))
return false;
else
vect_record_loop_mask (loop_vinfo, masks, ncopies, vectype, NULL);
}
I guess this code is just disabling partial vector for length for now.
And need me to test and port this part for length in the followup patches.
Am I right ?