Does anyBody know how to know the latency of every opcode in llvm-IR? Thank you for your time! 2010-10-14 huwei8717 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101014/a9c4b540/attachment.html>
On Oct 14, 2010, at 4:49 AM, huwei8717 wrote:> Does anyBody know how to know the latency of every opcode in llvm-IR? >Hi Hu Wei, llvm-IR doesn't have a latency because it's not executable code. It's just an intermediate representation for the optimizers. It's either generated into target-specific assembly language or JITed into an executable code format. But from the llvm-IR to the final product (executable code or a library), it changes substantially. -bw