[llvm-commits] [llvm] r152028 - /llvm/trunk/include/llvm/CodeGen/ValueTypes.h
Nadav Rotem
nadav.rotem at intel.com
Mon Mar 5 04:49:45 PST 2012
Author: nadav
Date: Mon Mar 5 06:49:45 2012
New Revision: 152028
URL: http://llvm.org/viewvc/llvm-project?rev=152028&view=rev
Log:
Remove an unused function.
Modified:
llvm/trunk/include/llvm/CodeGen/ValueTypes.h
Modified: llvm/trunk/include/llvm/CodeGen/ValueTypes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/ValueTypes.h?rev=152028&r1=152027&r2=152028&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/ValueTypes.h (original)
+++ llvm/trunk/include/llvm/CodeGen/ValueTypes.h Mon Mar 5 06:49:45 2012
@@ -443,19 +443,6 @@
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.
More information about the llvm-commits
mailing list