[llvm-dev] LiveRegUnits vs LivePhysRegs

Jay Foad via llvm-dev llvm-dev at lists.llvm.org
Tue Nov 2 04:51:22 PDT 2021


Why do we have both  LiveRegUnits and LivePhysRegs? They seem to do
the same job of tracking physical register liveness at RegUnit
granularity. The only difference I have noticed is that LivePhysRegs
provides both stepForward and stepBackward, but LiveRegUnits only has
stepBackward.

Thanks,
Jay.


More information about the llvm-dev mailing list