[NFC][CostModel] Refactor getCastInstrCost
authorSam Parker <sam.parker@arm.com>
Mon, 27 Apr 2020 11:41:30 +0000 (12:41 +0100)
committerSam Parker <sam.parker@arm.com>
Mon, 27 Apr 2020 11:42:34 +0000 (12:42 +0100)
commit0f16d66c80eb0b65c4ae55e27671d46f66be065f
tree06571ec9e0db4f0fa2fa6dd00e41ce89897f71e7
parent75c31057a76228dea73aff100e7403c0e9a00c30
[NFC][CostModel] Refactor getCastInstrCost

Move ZExt/SExt load handling into the BasicTTI switch statement.
llvm/include/llvm/CodeGen/BasicTTIImpl.h