Allow targets to prefer TypeSplitVector over TypePromoteInteger when computing the...
[oota-llvm.git] / include / llvm / Target / TargetTransformImpl.h
index d5ab3728afd70cfa1c786b324de4b34dd2a72af0..7ea2396076dc68b7a71e7d269753748b48fd8ac4 100644 (file)
@@ -55,8 +55,7 @@ protected:
   const TargetLowering *TLI;
 
   /// Estimate the cost of type-legalization and the legalized type.
-  std::pair<unsigned, MVT>
-  getTypeLegalizationCost(LLVMContext &C, EVT Ty) const;
+  std::pair<unsigned, MVT> getTypeLegalizationCost(Type *Ty) const;
 
   /// Estimate the overhead of scalarizing an instruction. Insert and Extract
   /// are set if the result needs to be inserted and/or extracted from vectors.