This is an archive of the discontinued LLVM Phabricator instance.

[LV][NFC] Cache scalar cost.
Needs ReviewPublic

Authored by ebrevnov on Sep 13 2021, 3:01 AM.

Details

Summary

There is a need to know scalar cost in different places of cost model (see dependences). Cache it as a private member of the cost model instance.

Diff Detail

Event Timeline

ebrevnov created this revision.Sep 13 2021, 3:01 AM
ebrevnov requested review of this revision.Sep 13 2021, 3:01 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 13 2021, 3:01 AM
ebrevnov edited the summary of this revision. (Show Details)Sep 13 2021, 5:21 AM
ebrevnov added reviewers: fhahn, lebedev.ri, Ayal, anna.
lebedev.ri resigned from this revision.Jan 12 2023, 5:24 PM

This review seems to be stuck/dead, consider abandoning if no longer relevant.

Herald added a project: Restricted Project. · View Herald TranscriptJan 12 2023, 5:24 PM