Commit range (2 possible commits): r15-858-g65aa46ffc3b r15-859-geaaa4b88038 < 99.9% sure it's this one since it updated the test expectations Regressed: FAIL: gcc.dg/vect/slp-cond-2-big-array.c -flto -ffat-lto-objects scan-tree-dump-times vect "vectorizing stmts using SLP" 4 FAIL: gcc.dg/vect/slp-cond-2-big-array.c scan-tree-dump-times vect "vectorizing stmts using SLP" 4 FAIL: gcc.dg/vect/slp-cond-2.c -flto -ffat-lto-objects scan-tree-dump-times vect "vectorizing stmts using SLP" 4 FAIL: gcc.dg/vect/slp-cond-2.c scan-tree-dump-times vect "vectorizing stmts using SLP" 4 Debug output: gcc.dg/vect/slp-cond-2-big-array.c -flto -ffat-lto-objects : pattern found 3 times FAIL: gcc.dg/vect/slp-cond-2-big-array.c -flto -ffat-lto-objects scan-tree-dump-times vect "vectorizing stmts using SLP" 4 gcc.dg/vect/slp-cond-2-big-array.c: pattern found 3 times FAIL: gcc.dg/vect/slp-cond-2-big-array.c scan-tree-dump-times vect "vectorizing stmts using SLP" 4 gcc.dg/vect/slp-cond-2.c -flto -ffat-lto-objects : pattern found 3 times FAIL: gcc.dg/vect/slp-cond-2.c -flto -ffat-lto-objects scan-tree-dump-times vect "vectorizing stmts using SLP" 4 gcc.dg/vect/slp-cond-2.c: pattern found 3 times FAIL: gcc.dg/vect/slp-cond-2.c scan-tree-dump-times vect "vectorizing stmts using SLP" 4
Relevant postcommit issue: https://github.com/patrick-rivos/gcc-postcommit-ci/issues/999
This also wasn't seen in precommit CI. I can confirm it on trunk and the issue is that we prefer load-lanes for f3 instead of SLP. This issue will go away when we do load-lanes from SLP, so it's intermittent (but I can't promise any timeline). I wonder if the FAIL also occurs on aarch64. There's vect_load_lanes to eventually "fix" the FAIL by adjusting the testcase expectation.
Same on aarch64.
We also see it on arm --with-mode=thumb. FWIW this is being tracked in the Linaro CI at: https://linaro.atlassian.net/browse/GNU-1222
This seems to be fixed now for both risc-v and aarch64 (with or without SVE).