[LLVMdev] the latency of opcode
Bill Wendling
wendling at apple.com
Thu Oct 14 05:04:45 PDT 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.
-bw
More information about the llvm-dev
mailing list