On 6/23/2021 4:46 AM, Richard Biener wrote:
We were ignoring DR_STEP for VF == 1 which is OK only in case the scalar order is preserved or both DR steps are the same. Bootstrapped and tested on x86_64-unknown-linux-gnu, OK? Thanks, Richard. 2021-06-23 Richard Biener <rguent...@suse.de> PR tree-optimization/101105 * tree-vect-data-refs.c (vect_prune_runtime_alias_test_list): Only ignore steps when they are equal or scalar order is preserved. * gcc.dg/torture/pr101105.c: New testcase.
OK jeff