[llvm-dev] [Proposal][RFC] Cache aware Loop Cost Analysis

Vikram TV via llvm-dev llvm-dev at lists.llvm.org
Mon Jul 4 18:47:46 PDT 2016

On Fri, Jun 24, 2016 at 12:36 AM, Vikram TV <vikram.tarikere at gmail.com>

> On Thu, Jun 23, 2016 at 11:34 PM, Adam Nemet <anemet at apple.com> wrote:
>>> Hi Vikram,
>>> Is the analysis result specific to a loop nest or to a loop nest
>>> together with a set of reference groups?
>> The result is specific to each loop in the loop nest and the calculations
>> are based on the references in the loop nest.
>> Sorry can you please rephrase/elaborate, I don’t understand what you
>> mean.  Analysis results are retained unless a transformation invalidates
>> them.  My question is how the reference groups affect all this.
> Sorry, I now understood that you meant llvm's analysis result (I thought
> how the analysis calculates the result). The analysis result is specific to
> each loop in its loop nest. Reference groups are necessary during cost
> computation only.

Hi Adam,
Do you have any concerns/suggestions regarding the analysis results? I just
want to reiterate that the analysis calculates the cost for each loop in
its loop nest. Reference groups affect this only during computation of the
loop cost i.e. in order to compute the cost, the analysis need to analyze
each of the references in the nest.

Please do let me know. Thanks!


Good time...
Vikram TV
CompilerTree Technologies
Mysore, Karnataka, INDIA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160705/ad31ba55/attachment.html>

More information about the llvm-dev mailing list