[PATCH] D100684: [WIP][X86][CostModel] Further `X86TTIImpl::getMemoryOpCost()` improvements
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 16 13:40:44 PDT 2021
lebedev.ri created this revision.
lebedev.ri added a project: LLVM.
Herald added subscribers: pengfei, hiraditya.
lebedev.ri requested review of this revision.
Not really ready for review.
This improves costs for overaligned loads (even if we don't need the whole vector, we still can load it),
improves costs for stores, but regresses costs for normal loads,
`getShuffleCost(TTI::ShuffleKind::SK_InsertSubvector)` needs fixes.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D100684
Files:
llvm/lib/Target/X86/X86TargetTransformInfo.cpp
llvm/test/Analysis/CostModel/X86/load_store.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100684.338219.patch
Type: text/x-patch
Size: 56531 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210416/de7578d0/attachment.bin>
More information about the llvm-commits
mailing list