[llvm-dev] Print the Binary Form of an Instruction

Sky Flyer via llvm-dev llvm-dev at lists.llvm.org
Mon Aug 17 01:33:55 PDT 2015


Hi all,

I have defined an instruction in the InstFormat.td and InstrInfo.td files.
I also wrote a CodeEmitter class for that, and now I have a .inc file after
compilation that seems like it might be correct, BUT, I would like to see
what will be generated when the assembly code is converted to the binary
machine code!
Is there any command in TableGen or a test class to do so?

Cheers,
ES
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150817/6ef15324/attachment-0001.html>


More information about the llvm-dev mailing list