[llvm-dev] Putting comments into IR
Vedant Kumar via llvm-dev
llvm-dev at lists.llvm.org
Thu Sep 17 17:42:59 PDT 2015
I don't think IRBuilder supports this.
Would llvm::AssemblyAnnotationWriter work for your purposes?
vedant
On Sep 17, 2015, at 2:36 PM, Rodney M. Bates via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> The ascii assembly form of llvm IR allows comments. Is there an IRBuilder
> way to insert these into in-memory IR, so they will come out through
> LLVMPrintModuleToFile?
> --
> Rodney Bates
> rodney.m.bates at acm.org
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
More information about the llvm-dev
mailing list