In cases when ScalarizationCostPassed has no value, UINT_MAX is actually used
for cost estimation in return ScalarCalls * ScalarCost + ScalarizationCost.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D101099
[TTI] Fix ScalarizationCost initialization. ClosedPublic Authored by dfukalov on Apr 22 2021, 12:19 PM.
Details Summary In cases when ScalarizationCostPassed has no value, UINT_MAX is actually used
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Apr 23 2021, 7:41 AM This revision was landed with ongoing or failed builds.Apr 23 2021, 8:00 AM Closed by commit rGf79d055791f9: [TTI] Fix ScalarizationCost initialization. (authored by dfukalov). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 339755 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
|