Testing some optimizations

Attempting to reduce number of VGPRs by eliminating unnecessary
variables.