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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D109678
[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 Timelineebrevnov added a parent revision: D109677: [LV][NFC] Add 'const' modifier to getInstructionCost* members.Sep 13 2021, 3:08 AM
Revision Contents
Diff 372196 llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
|
clang-format suggested style edits found: