summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNadav Rotem <nrotem@apple.com>2012-11-05 23:57:45 +0000
committerNadav Rotem <nrotem@apple.com>2012-11-05 23:57:45 +0000
commit887c1fe7010d6f487ce246df6e2fc18eeb4eaa05 (patch)
treef17979e0d8baa6836446fa1c490b07c379134d9e /include
parent7ae3bcca4502f79fdadbfbbb0e68c5e14cc699fa (diff)
downloadllvm-887c1fe7010d6f487ce246df6e2fc18eeb4eaa05.tar.gz
llvm-887c1fe7010d6f487ce246df6e2fc18eeb4eaa05.tar.bz2
llvm-887c1fe7010d6f487ce246df6e2fc18eeb4eaa05.tar.xz
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.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Target/TargetTransformImpl.h b/include/llvm/Target/TargetTransformImpl.h
index d5ab3728af..7ea2396076 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.