diff options
author | Nadav Rotem <nadav.rotem@intel.com> | 2012-03-05 12:49:45 +0000 |
---|---|---|
committer | Nadav Rotem <nadav.rotem@intel.com> | 2012-03-05 12:49:45 +0000 |
commit | 7eb0bf5fb7eb6b613b3fdada422c9712049c221d (patch) | |
tree | 0eb63d7c117d04dba4f29f438fecd4f171d49d77 /include/llvm/CodeGen | |
parent | 8d12f72c11e4c1eda3918d20c95b83a1b00bae28 (diff) | |
download | external_llvm-7eb0bf5fb7eb6b613b3fdada422c9712049c221d.zip external_llvm-7eb0bf5fb7eb6b613b3fdada422c9712049c221d.tar.gz external_llvm-7eb0bf5fb7eb6b613b3fdada422c9712049c221d.tar.bz2 |
Remove an unused function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152028 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
-rw-r--r-- | include/llvm/CodeGen/ValueTypes.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/llvm/CodeGen/ValueTypes.h b/include/llvm/CodeGen/ValueTypes.h index ecfd7c9..76c2357 100644 --- a/include/llvm/CodeGen/ValueTypes.h +++ b/include/llvm/CodeGen/ValueTypes.h @@ -443,19 +443,6 @@ namespace llvm { return getExtendedVectorVT(Context, VT, NumElements); } - /// getIntVectorWithNumElements - Return any integer vector type that has - /// the specified number of elements. - static EVT getIntVectorWithNumElements(LLVMContext &C, unsigned NumElts) { - switch (NumElts) { - default: return getVectorVT(C, MVT::i8, NumElts); - case 1: return MVT::v1i64; - case 2: return MVT::v2i32; - case 4: return MVT::v4i16; - case 8: return MVT::v8i8; - case 16: return MVT::v16i8; - } - } - /// changeVectorElementTypeToInteger - Return a vector with the same number /// of elements as this vector, but with the element type converted to an /// integer type with the same bitwidth. |