[PATCH] D31955: MachineRegisterInfo: Add way to mark individual registers as used

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 12 15:37:33 PDT 2017


arsenm abandoned this revision.
arsenm added a comment.

In https://reviews.llvm.org/D31955#725230, @MatzeB wrote:

> I think `UsedPhysRegMask` is supposed to be the union of all register mask operands in the function. It just functions as a cache there. Having a way to manually set/reset it seems wrong to me. What exactly do you want/need this for?


The code before was replacing uses of reserved registers before the uses were added. I reordered things so I think that this isn't necessary anymore


https://reviews.llvm.org/D31955





More information about the llvm-commits mailing list