[LLVMdev] MachineBasicBlocks Cloning
micah.villmow at smachines.com
Wed Jul 31 09:22:57 PDT 2013
Cloning a basic block should be a utility function that can be called from any machine pass.
That being said, it should only be responsible for cloning the basic block and not updating any analysis passes that were run on the basic block. Those should have to be rerun separately.
> -----Original Message-----
> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu]
> On Behalf Of Nico
> Sent: Wednesday, July 31, 2013 5:16 AM
> To: LLVM Developers Mailing List
> Subject: [LLVMdev] MachineBasicBlocks Cloning
> For some schedulers like Trace Scheduling it is necessary to clone basic
> Instinctively I would think the "Machine Instruction Scheduler" would be the
> right place to do so.
> Is it possible to clone MachineBasicBlocks in the "Machine Instruction
> Scheduler" pass? Any snares? Or is it to much effort to implement it there
> and there is a better place for such things?
> Thank you,
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
More information about the llvm-dev