CostModel: We have API for checking the costs of known shuffles. This patch adds
[oota-llvm.git] / lib / Target / TargetTransformImpl.cpp
index 3d640dc02352acf2c106af8e161d024471bae989..235a8fc76a646f50d09fc8e995c1cbd73d932468 100644 (file)
@@ -208,7 +208,9 @@ unsigned VectorTargetTransformImpl::getArithmeticInstrCost(unsigned Opcode,
   return 1;
 }
 
-unsigned VectorTargetTransformImpl::getBroadcastCost(Type *Tp) const {
+unsigned VectorTargetTransformImpl::getShuffleCost(ShuffleKind Kind,
+                                                   Type *Tp,
+                                                   int Index) const {
   return 1;
 }