[PATCH] D149889: [TTI] Use users of GEP to guess access type in getGEPCost
Luke Lau via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 22 09:09:34 PDT 2023
luke updated this revision to Diff 533642.
luke added a comment.
- Make AccessType just a single pointer
- Isolate changes to just cost model for now: will follow up with SLP and other users later
- Preserve original behaviour if accesstype isn't passed
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D149889/new/
https://reviews.llvm.org/D149889
Files:
llvm/include/llvm/Analysis/TargetTransformInfo.h
llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
llvm/include/llvm/CodeGen/BasicTTIImpl.h
llvm/lib/Analysis/TargetTransformInfo.cpp
llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
llvm/lib/Target/X86/X86TargetTransformInfo.cpp
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
llvm/test/Analysis/CostModel/ARM/mve-gather-scatter-cost.ll
llvm/test/Analysis/CostModel/RISCV/gep.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149889.533642.patch
Type: text/x-patch
Size: 15558 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230622/f38f512e/attachment.bin>
More information about the llvm-commits
mailing list