[PATCH] D39687: [SLP] Fix PR35047: Fix default cost model for cast op in X86.
Alexey Bataev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 6 07:44:45 PST 2017
ABataev created this revision.
The cost calculation for default case on X86 target does not always
follow correct wayt because of missing 4-th argument in
`BaseT::getCastInstrCost()` call. Added this missing parameter.
https://reviews.llvm.org/D39687
Files:
lib/Target/X86/X86TargetTransformInfo.cpp
test/Transforms/SLPVectorizer/X86/cast.ll
test/Transforms/SLPVectorizer/X86/load-merge.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39687.121738.patch
Type: text/x-patch
Size: 7020 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171106/515d2f6b/attachment.bin>
More information about the llvm-commits
mailing list