[Bug tree-optimization/101993] Potential vectorization opportunity when condition checks array address

2021-08-20 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101993 --- Comment #3 from rguenther at suse dot de --- On Fri, 20 Aug 2021, wwwhhhyyy333 at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101993 > > --- Comment #2 from Hongyu Wang --- > (In reply to Richard Biener from commen

[Bug tree-optimization/101993] Potential vectorization opportunity when condition checks array address

2021-08-20 Thread wwwhhhyyy333 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101993 --- Comment #2 from Hongyu Wang --- (In reply to Richard Biener from comment #1) > We can vectorize this with masked moves when using AVX2. clang seems to > simply remove the test completely - C seems to guarantee that a + i is a > valid pointe

[Bug tree-optimization/101993] Potential vectorization opportunity when condition checks array address

2021-08-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101993 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Keywords|