[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
Mon May 15 09:05:56 PDT 2023
luke updated this revision to Diff 522222.
luke added a comment.
Only use the first user to avoid O(N) compile times.
Move the memory access type logic into Instruction.h in a dependent patch.
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/X86/X86TargetTransformInfo.cpp
llvm/lib/Transforms/Scalar/LICM.cpp
llvm/lib/Transforms/Scalar/NaryReassociate.cpp
llvm/lib/Transforms/Scalar/StraightLineStrengthReduce.cpp
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
llvm/test/Analysis/CostModel/AMDGPU/gep.ll
llvm/test/Analysis/CostModel/ARM/gep.ll
llvm/test/Analysis/CostModel/ARM/mve-gather-scatter-cost.ll
llvm/test/Analysis/CostModel/RISCV/gep.ll
llvm/test/Analysis/CostModel/X86/gep.ll
llvm/test/Transforms/Inline/AArch64/gep-cost.ll
llvm/test/Transforms/Inline/alloca-bonus.ll
llvm/test/Transforms/LoopVectorize/RISCV/strided-accesses.ll
llvm/test/Transforms/LoopVectorize/X86/pointer-runtime-checks-unprofitable.ll
llvm/test/Transforms/LoopVectorize/X86/pr23997.ll
llvm/test/Transforms/LoopVectorize/X86/pr54634.ll
llvm/test/Transforms/SLPVectorizer/RISCV/gep.ll
llvm/test/Transforms/SLPVectorizer/X86/geps-non-pow-2.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149889.522222.patch
Type: text/x-patch
Size: 334242 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230515/441fef75/attachment-0001.bin>
More information about the llvm-commits
mailing list