[PATCH] D9819: [TTI/CostModel] improve TTI::getGEPCost and use it in CostModel::getInstructionCost
Jingyue Wu
jingyue at google.com
Sun Jul 12 20:13:37 PDT 2015
jingyue updated this revision to Diff 29527.
jingyue added a comment.
Two changes
1. pass Ptr's address space to isLegalAddressingMode
2. allow gep_type_begin to take ArrayRef<const Value *>
http://reviews.llvm.org/D9819
Files:
include/llvm/Analysis/TargetTransformInfo.h
include/llvm/Analysis/TargetTransformInfoImpl.h
include/llvm/IR/GetElementPtrTypeIterator.h
lib/Analysis/CostModel.cpp
lib/Transforms/Scalar/StraightLineStrengthReduce.cpp
test/Analysis/CostModel/ARM/gep.ll
test/Analysis/CostModel/no_info.ll
test/Transforms/LoopUnroll/X86/partial.ll
test/Transforms/LoopVectorize/X86/metadata-enable.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9819.29527.patch
Type: text/x-patch
Size: 17951 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150713/1b74b3f4/attachment.bin>
More information about the llvm-commits
mailing list