[CostModel] Follow-up to buildbot fix
authorSam Parker <sam.parker@arm.com>
Mon, 8 Jun 2020 14:25:03 +0000 (15:25 +0100)
committerSam Parker <sam.parker@arm.com>
Mon, 8 Jun 2020 14:26:25 +0000 (15:26 +0100)
commit5b5e78ad2bcf30209d755de8a1e4880ece5159af
treee44e04d1a64cea7f94cd04864dd1d137b58e2f54
parentf74523f986da2902fed736a3c94ef32033d74bae
[CostModel] Follow-up to buildbot fix

Adding type checks into the other backends that call
getTypeLegalizationCost.

Differential Revision: https://reviews.llvm.org/D80984
llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
llvm/lib/Target/X86/X86TargetTransformInfo.cpp