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