[llvm-dev] Adding comments in Assembly

Kumail Ahmed via llvm-dev llvm-dev at lists.llvm.org
Sat Dec 12 08:48:30 PST 2015


Hi,

Which file should I edit, if i want to add comments to an assembly instruction.

For example,

        mov r1, 0    #r1 is variable a


Should I add it as a metadata? Secondly, how are comments inserted at
the beginning of loops?

Best Regards,
Kumail


More information about the llvm-dev mailing list