[llvm-dev] LiveRegUnits vs LivePhysRegs

Quentin Colombet via llvm-dev llvm-dev at lists.llvm.org
Tue Nov 2 12:08:41 PDT 2021


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



More information about the llvm-dev mailing list