https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104579
--- Comment #3 from Hongtao.liu <crazylht at gmail dot com> --- (In reply to Hongtao.liu from comment #2) > One possible way is sink maxInt = src[i] out of loop, when there's > synchronised index search in the loop, just like below. > For scalar part, it's 1 conditional movement in loop vs. 1 load out of loop.