[LLVMdev] adding comment

Matt Arsenault arsenm2 at gmail.com
Thu Apr 17 09:30:54 PDT 2014


On Apr 16, 2014, at 2:06 PM, reed kotler <rkotler at mips.com> wrote:

> Is there a simple way to add a comment in the machine instructions of a basic block?
> 
> Ideally something that can be used with machine instruction builder.
> 

I’ve also been looking for something like this. I’m trying to start work on a pass that would be easiest to implement by merging multiple machine basic blocks into one, but I would really like to retain the comments marking the beginning of the merged blocks. I’ve been considering more complicated ways of doing it rather than losing those

-Matt





More information about the llvm-dev mailing list