[LLVMdev] LiveIntervals invalidates LiveVariables?

Chris Lattner sabre at nondot.org
Wed Sep 7 13:04:35 PDT 2005


On Thu, 8 Sep 2005, Tzu-Chien Chiu wrote:

> On 08/09/05, Alkis Evlogimenos <evlogimenos at gmail.com> wrote:
>> to those coalesced registers, it is logical that noone will ever query
>> the liveness of those registers (unless there is a bug somewhere in the
>
> Indeed the coalesced registers may logically not be queried since they
> do not appear in any operand list of the machine code, but the
> VarInfo::DefInst in VirtRegInfo of the _representive register_ is
> _not_ correct (I could trace the code at the time of writing this
> mail).

Yup.

> In the other words, the patch not only have to remove the VarInfo
> record in VirtRegInfo, but also have to update the record for
> _representive register_.

Agreed.

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/




More information about the llvm-dev mailing list