Displaying 1 result from an estimated 1 matches for "rootlat".
Did you mean:
rootlen
2015 Feb 04
2
[LLVMdev] Question on Machine Combiner Pass
...e the depth and latency for the current
instruction (MUL+ADD) and the alternate instruction (MADD).
But we call two different set of APIs for the current and new instructions:
For new instruction we use:
unsigned NewRootDepth = getDepth(InsInstrs, InstrIdxForVirtReg, BlockTrace);
unsigned NewRootLatency = getLatency(Root, NewRoot, BlockTrace);
While for the current instruction we use:
unsigned RootDepth = BlockTrace.getInstrCycles(Root).Depth;
unsigned RootLatency = TSchedModel.computeInstrLatency(Root);
This is related to the following commit:
commit e4fa341dde3c9521b7f11bd53ecdcbe...