Emphasis on the may. And, yes, I could see it as a possibility - after all, they can unroll loops if it's more efficient. Don't forget, optimisers have access to compiler implementation details that we don't.

Basically, my advice is: don't second-guess the optimiser; it's smarter than you.