[TTI] NFC: Change getVectorSplitCost to return InstructionCost
authordfukalov <daniil.fukalov@amd.com>
Wed, 21 Apr 2021 13:38:53 +0000 (16:38 +0300)
committerdfukalov <daniil.fukalov@amd.com>
Wed, 21 Apr 2021 14:32:02 +0000 (17:32 +0300)
commita8b35e0f5230c9c12ff9046283137cb907fc1230
tree77a3ba5b440168cb2652ff715d73ff070fec57e2
parent8f6185c71378467e8c27e8996ff2dbaed3e41dbc
[TTI] NFC: Change getVectorSplitCost to return InstructionCost

This patch migrates the TTI cost interfaces to return an InstructionCost.

See this patch for the introduction of the type: https://reviews.llvm.org/D91174
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2020-November/146408.html

Reviewed By: sdesmalen

Differential Revision: https://reviews.llvm.org/D100952
llvm/include/llvm/CodeGen/BasicTTIImpl.h
llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h