Displaying 1 result from an estimated 1 matches for "preservescriticalpathlen".
2015 Feb 04
2
[LLVMdev] Question on Machine Combiner Pass
...ry 03, 2015 4:34 PM
To: 'llvmdev at cs.uiuc.edu'
Cc: 'ghoflehner at apple.com'; 'apazos at codeaurora.org'; mgrang at codeaurora.org
Subject: Question on Machine Combiner Pass
Hi,
In the file lib/CodeGen/MachineCombiner.cpp I see that in the function
MachineCombiner::preservesCriticalPathLen
we try to determine whether the new combined instruction lengthens the
critical path or not.
In order to do this we compute 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 instructi...