[llvm-dev] How to get the string representation of an instruction?

Ryan Taylor via llvm-dev llvm-dev at lists.llvm.org
Wed Jan 16 07:59:18 PST 2019


Value::print(..)?

On Wed, Jan 16, 2019 at 10:54 AM Peng Yu <pengyu.ut at gmail.com> wrote:

> Yes. Something like "store i32 %4, i32* @u.3, align 4, !dbg !22".
>
> > he probably means text representation like in text IR
>
> --
> Regards,
> Peng
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190116/2255aaa3/attachment.html>


More information about the llvm-dev mailing list