1. An apparatus comprising: at least one processor; a memory coupled to the at least one processor; a computer program residing in the memory, the computer program including a plurality of instructions that includes at least one vector instruction; and a compiler residing in the memory and executed by the at least one processor, the compiler including a vector instruction optimization mechanism that eliminates at least one vector element reverse operation from the computer program to enhance run-time performance of the computer program.