diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Target/TargetTransformImpl.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Target/TargetTransformImpl.h b/include/llvm/Target/TargetTransformImpl.h index d5ab372..7ea2396 100644 --- a/include/llvm/Target/TargetTransformImpl.h +++ b/include/llvm/Target/TargetTransformImpl.h @@ -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. |