diff options
Diffstat (limited to 'lib/Target/X86/X86ISelLowering.cpp')
-rw-r--r-- | lib/Target/X86/X86ISelLowering.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index 4afc0d8197..eca63f80ae 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -18303,10 +18303,11 @@ unsigned X86VectorTargetTransformInfo::getCastInstrCost(unsigned Opcode, unsigned X86VectorTargetTransformInfo::getShuffleCost(ShuffleKind Kind, Type *Tp, - int Index) const { + int Index, + Type *SubTp) const { // We only estimate the cost of reverse shuffles. if (Kind != Reverse) - return VectorTargetTransformImpl::getShuffleCost(Kind, Tp, Index); + return VectorTargetTransformImpl::getShuffleCost(Kind, Tp, Index, SubTp); std::pair<unsigned, MVT> LT = getTypeLegalizationCost(Tp); unsigned Cost = 1; |