Yeah, sometimes the compiler unrolls too much and innocent looking one-liner can be compiled into a monstrosity like this:
There must be so many examples of bubble sort where quicksort would be better, and other code patterns which can be identified and replaced with something orders of magnitude faster.