diff options
author | Dan Gohman <gohman@apple.com> | 2010-03-11 21:39:57 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-03-11 21:39:57 +0000 |
commit | 576aec4363ad12140f44f2e68abe90855270c4df (patch) | |
tree | 45f2068020628b2e54c2cb5a2915cc4b68a150da /llvm/lib/CodeGen | |
parent | 216e7299d77018347d233ed2a7955455e655fdb5 (diff) | |
download | bcm5719-llvm-576aec4363ad12140f44f2e68abe90855270c4df.tar.gz bcm5719-llvm-576aec4363ad12140f44f2e68abe90855270c4df.zip |
Remove getWidenVectorType, which is no longer used.
llvm-svn: 98289
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp index 0e54ca44aa5..2ae9d349f15 100644 --- a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp @@ -792,20 +792,6 @@ unsigned TargetLowering::getVectorTypeBreakdown(LLVMContext &Context, EVT VT, return 1; } -/// getWidenVectorType: given a vector type, returns the type to widen to -/// (e.g., v7i8 to v8i8). If the vector type is legal, it returns itself. -/// If there is no vector type that we want to widen to, returns MVT::Other -/// When and where to widen is target dependent based on the cost of -/// scalarizing vs using the wider vector type. -EVT TargetLowering::getWidenVectorType(EVT VT) const { - assert(VT.isVector()); - if (isTypeLegal(VT)) - return VT; - - // Default is not to widen until moved to LegalizeTypes - return MVT::Other; -} - /// getByValTypeAlignment - Return the desired alignment for ByVal aggregate /// function arguments in the caller parameter area. This is the actual /// alignment, not its logarithm. |