the latency of opcode

Does anyBody know how to know the latency of every opcode in llvm-IR?

Thank you for your time!

2010-10-14

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