[LLVMdev] LiveIntervals invalidates LiveVariables?

Tzu-Chien Chiu tzuchien.chiu at gmail.com
Wed Sep 7 12:21:38 PDT 2005


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).

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_.

-- 
Tzu-Chien Chiu,
3D Graphics Hardware Architect
<URL:http://www.csie.nctu.edu.tw/~jwchiu>




More information about the llvm-dev mailing list