I'm trying to recall how to use a register to increment a for loop... this is an old C thing that I was taught back in the 80's.. If I recall it went something like..
You shouldn't try to second guess the compiler's decisions on how to optimize the code. If using a register is good for performance, the compiler will probably use a register.