[PATCH] D14719: Track pristine registers in terms of register units.
Krzysztof Parzyszek via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 17 03:28:46 PST 2015
kparzysz added a comment.
I know that the code does not become simpler, I just wanted to use a common measure of register use. What you are proposing would work for our case, I'd only add the traversal of subregisters to the CSR loop as well (to cover the opposite case).
There is also one other place where the pristine registers are calculated: addPristines in LivePhysReg.cpp. Should that function call MachineFrameInfo::getPristineRegs?
Repository:
rL LLVM
http://reviews.llvm.org/D14719
More information about the llvm-commits
mailing list