diff options
author | Nadav Rotem <nrotem@apple.com> | 2012-11-05 23:57:45 +0000 |
---|---|---|
committer | Nadav Rotem <nrotem@apple.com> | 2012-11-05 23:57:45 +0000 |
commit | 887c1fe7010d6f487ce246df6e2fc18eeb4eaa05 (patch) | |
tree | f17979e0d8baa6836446fa1c490b07c379134d9e /include | |
parent | 7ae3bcca4502f79fdadbfbbb0e68c5e14cc699fa (diff) | |
download | external_llvm-887c1fe7010d6f487ce246df6e2fc18eeb4eaa05.zip external_llvm-887c1fe7010d6f487ce246df6e2fc18eeb4eaa05.tar.gz external_llvm-887c1fe7010d6f487ce246df6e2fc18eeb4eaa05.tar.bz2 |
Refactor the getTypeLegalizationCost interface. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167422 91177308-0d34-0410-b5e6-96231b3b80d8
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. |