[llvm-dev] Cloning a MachineInstr
Jim Grosbach via llvm-dev
llvm-dev at lists.llvm.org
Wed Dec 2 18:42:27 PST 2015
> On Dec 2, 2015, at 5:12 PM, Rail Shafigulin via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> What are you trying to achieve in the end?
> I need to insert extra NOP instructions into the bundle or at least generate a few extra ones during the assembly generation.
You shouldn’t need to modify the the MachineFunction to do that. Just emit the extra MCInst directly. The ARM backend does things analogous to this for some of its MC level pseudo-instructions that might prove useful as examples you could adapt.
> Rail Shafigulin
> Software Engineer
> Esencia Technologies
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev