[llvm-commits] [patch] Convert uses of getPhysicalRegisterRegClass in VirtRegRewriter.cpp

Rafael Espindola espindola at google.com
Sun Jul 11 19:59:51 PDT 2010


> I am going to be adding some code that can infer the largest legal register class for a register given its uses. Such an algorithm can relieve register pressure when splitting live intervals.
>
> Until then, I think the conservative getMinimalPhysRegClass is the right choice.

Agreed.  I have committed the change and added a FIXME for when your
implementation is complete.

> /jakob
>
>

Thanks,
-- 
Rafael Ávila de Espíndola




More information about the llvm-commits mailing list