Ronaldo Ferreira
2014-May-21 13:48 UTC
[LLVMdev] Moving a MachineInstr to another position of its MachineBasicBlock
Hi, I would like to know how I can move a MachineInstr to another position of the MachineBasicBlock that contains that instruction. Looking at the MachineInstr docs I could not see how to do it. thanks, ronaldo -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140521/fcdfb63d/attachment.html>
Krzysztof Parzyszek
2014-May-21 14:00 UTC
[LLVMdev] Moving a MachineInstr to another position of its MachineBasicBlock
On 5/21/2014 8:48 AM, Ronaldo Ferreira wrote:> > I would like to know how I can move a MachineInstr to another position > of the MachineBasicBlock that contains that instruction. > > Looking at the MachineInstr docs I could not see how to do it.Check out MachineBasicBlock::splice. -K -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation