[PATCH] D101099: [TTI] Fix ScalarizationCost initialization.
Daniil Fukalov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 22 12:19:31 PDT 2021
dfukalov created this revision.
dfukalov added reviewers: sdesmalen, dmgreen, RKSimon, samparker.
dfukalov requested review of this revision.
Herald added a project: LLVM.
In cases when ScalarizationCostPassed has no value, UINT_MAX is actually used
for cost estimation in `return ScalarCalls * ScalarCost + ScalarizationCost`.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D101099
Files:
llvm/include/llvm/CodeGen/BasicTTIImpl.h
llvm/test/Analysis/CostModel/X86/masked-intrinsic-cost-inseltpoison.ll
llvm/test/Analysis/CostModel/X86/masked-intrinsic-cost.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101099.339755.patch
Type: text/x-patch
Size: 63004 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210422/02dec95a/attachment-0001.bin>
More information about the llvm-commits
mailing list