Displaying 2 results from an estimated 2 matches for "b8c04db5".
2018 Feb 05
0
Adding comments to 'MachineInstruction'
There is no generic mechanism as far as I know. You can look at AsmPrinter.cpp/emitComments() to see what situations trigger comments at the moment.
- Matthias
> On Feb 3, 2018, at 4:40 AM, Martin J. O'Riordan via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> When I am constructing sequences of instructions during custom lowering, I would like to be able to also add a
2018 Feb 03
2
Adding comments to 'MachineInstruction'
When I am constructing sequences of instructions during custom lowering, I
would like to be able to also add a comment that appears in the generated
assembly with '-S -fverbose-asm'. There is a large set of 'add*' functions
to attach additional information to the MI, but I don't see one for adding
comments.
Is there a method I can call to attach an arbitrary string