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. Bin
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>
Seemingly Similar Threads
- [LLVMdev] [llvm-commits] [PATCH] MachineRegisterInfo: Don't emit the same livein copy more than once
- [LLVMdev] [llvm-commits] [PATCH] MachineRegisterInfo: Don't emit the same livein copy more than once
- [LLVMdev] [llvm-commits] [PATCH] MachineRegisterInfo: Don't emit the same livein copy more than once
- [LLVMdev] [llvm-commits] [PATCH] MachineRegisterInfo: Don't emit the same livein copy more than once
- Machine instruction verifier pass