[PATCH] D91984: [CostModel] Add basic implementation of getGatherScatterOpCost.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 23 11:01:04 PST 2020
fhahn created this revision.
fhahn added reviewers: dmgreen, RKSimon, spatel, anton-afanasyev.
Herald added a subscriber: kristof.beyls.
Herald added a project: LLVM.
fhahn requested review of this revision.
Add a basic implementation of getGatherScatterOpCost to BasicTTIImpl.
The implementation estimates the cost of scalarizing the loads/stores,
the cost of packing/extracting the individual lanes and the cost of
only selecting enabled lanes.
This more accurately reflects the current cost on targets like AArch64.
rG LLVM Github Monorepo
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 16409 bytes
Desc: not available
More information about the llvm-commits