[llvm-dev] How do I dump numerical representation of textual LLVM IR?

Nemanja Ivanovic via llvm-dev llvm-dev at lists.llvm.org
Fri Aug 19 01:35:10 PDT 2016


Perhaps you can run llvm-mc on the instruction in question and provide it
the --show-encoding option.
Or conversely, you can specify the encoding you desire and run llvm-mc with
--disassemble on it.

N

On Fri, Aug 19, 2016 at 7:52 AM, Madhur Amilkanthwar via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> Hi,
> For my input file I think that llvm-as is encoding an instruction
> incorrectly.
> Is there any way to dump the numerical representation of input textual
> LLVM IR on terminal?
> "-f" option to llvm-as did not help.
>
> --
> *Disclaimer: Views, concerns, thoughts, questions, ideas expressed in this
> mail are of my own and my employer has no take in it. *
> Thank You.
> Madhur D. Amilkanthwar
>
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160819/a6b6b5af/attachment.html>


More information about the llvm-dev mailing list