tstellarAMD accepted this revision. tstellarAMD added a comment. This revision is now accepted and ready to land. I had to stare at the extra register computation for a while to convince myself it was correct. Thanks for fixing this. LGTM. http://reviews.llvm.org/D15898