[llvm] r182181 - Remove duplicated comment
Matt Arsenault
Matthew.Arsenault at amd.com
Fri May 17 17:24:09 PDT 2013
Author: arsenm
Date: Fri May 17 19:24:09 2013
New Revision: 182181
URL: http://llvm.org/viewvc/llvm-project?rev=182181&view=rev
Log:
Remove duplicated comment
The same comment is already made in the header
Modified:
llvm/trunk/lib/IR/DataLayout.cpp
Modified: llvm/trunk/lib/IR/DataLayout.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/DataLayout.cpp?rev=182181&r1=182180&r2=182181&view=diff
==============================================================================
--- llvm/trunk/lib/IR/DataLayout.cpp (original)
+++ llvm/trunk/lib/IR/DataLayout.cpp Fri May 17 19:24:09 2013
@@ -601,16 +601,11 @@ unsigned DataLayout::getPreferredTypeAli
return Log2_32(Align);
}
-/// getIntPtrType - Return an integer type with size at least as big as that
-/// of a pointer in the given address space.
IntegerType *DataLayout::getIntPtrType(LLVMContext &C,
unsigned AddressSpace) const {
return IntegerType::get(C, getPointerSizeInBits(AddressSpace));
}
-/// getIntPtrType - Return an integer (vector of integer) type with size at
-/// least as big as that of a pointer of the given pointer (vector of pointer)
-/// type.
Type *DataLayout::getIntPtrType(Type *Ty) const {
assert(Ty->isPtrOrPtrVectorTy() &&
"Expected a pointer or pointer vector type.");
More information about the llvm-commits
mailing list