[llvm-dev] MIR instruction size

Ilya Skapenko via llvm-dev llvm-dev at lists.llvm.org
Thu Apr 20 11:28:45 PDT 2017

Is there any common way to determine a size of MIR instruction? I've tried
both: MachineInstr::getDesc().getSize() and
and unfortunately, both interfaces can't determine instruction sizes for
x86_64, though they could do it for arm architecture.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170420/065edcdb/attachment.html>

More information about the llvm-dev mailing list