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.
Quentin Colombet via llvm-dev
2021-Nov-02 19:08 UTC
[llvm-dev] LiveRegUnits vs LivePhysRegs
Take it with a grain of salt, Matthias may remember better, but I think that’s just an historical quirk that some client didn’t want to deal with with regunit.> On Nov 2, 2021, at 4:51 AM, Jay Foad via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > 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. > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev