[LLVMdev] MISched: Difference between Latency and ResourceCycles

Tom Stellard tom at stellard.net
Tue Apr 14 19:03:00 PDT 2015


Hi,

The ProcWriteResources Tablegen class has a Latency member variable and a
ProcResources member variable.  What is the difference between these
two?  If I have an instruction that spends 5 cycles in resource A
and then 5 cycles in resource B, how should I be setting these variables?

Thanks,
Tom



More information about the llvm-dev mailing list