[LLVMdev] Pass to compute livein info

Jakob Stoklund Olesen stoklund at 2pi.dk
Sun Jan 9 20:53:35 PST 2011


On Jan 6, 2011, at 8:16 AM, Bin Zeng wrote:

> Hi all,
> 
> Is there a pass that computes livein information for each 
> MachineBasicBlock? I tried to find such a pass but could not find any. I 
> am trying to use the livein information to get dead registers to insert 
> some instructions right before code emission but the livein information 
> seems to be invalidated by some pass. I might need to recompute the 
> livein information before my pass. Thanks a lot.

No, the liveness is not preserved by late code generation passes, and there is currently no way of recomputing it.

/jakob

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1929 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110109/1b819e71/attachment.bin>


More information about the llvm-dev mailing list