[llvm-dev] Liveness of virtual registers

Xiaochu Liu via llvm-dev llvm-dev at lists.llvm.org
Thu Jul 28 13:37:56 PDT 2016


Dear there,

I am trying to use liveness of a variable while writing a machinefunction
pass. But it seems that some virtual registers are not marked as dead while
they should be (never used by anything else). I get those info by callings
isDead or isDef function for that MachineOperand (vreg). Is there a way to
get more accurate liveness info?

Thanks,
Xiaochu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160728/8bb11df6/attachment.html>


More information about the llvm-dev mailing list