[LLVMdev] the latency of opcode
wendling at apple.com
Thu Oct 14 07:04:45 CDT 2010
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.
More information about the LLVMdev