remove unneeded reinterpret_casts

llvm-svn: 51589
diff --git a/llvm/lib/VMCore/Instructions.cpp b/llvm/lib/VMCore/Instructions.cpp
index f33e2dd..cf79b6f 100644
--- a/llvm/lib/VMCore/Instructions.cpp
+++ b/llvm/lib/VMCore/Instructions.cpp
@@ -1010,7 +1010,7 @@
 }
 
 GetElementPtrInst::GetElementPtrInst(const GetElementPtrInst &GEPI)
-  : Instruction(reinterpret_cast<const Type*>(GEPI.getType()), GetElementPtr,
+  : Instruction(GEPI.getType(), GetElementPtr,
                 OperandTraits<GetElementPtrInst>::op_end(this)
                 - GEPI.getNumOperands(),
                 GEPI.getNumOperands()) {
@@ -1355,7 +1355,7 @@
 }
 
 InsertValueInst::InsertValueInst(const InsertValueInst &IVI)
-  : Instruction(reinterpret_cast<const Type*>(IVI.getType()), InsertValue,
+  : Instruction(IVI.getType(), InsertValue,
                 OperandTraits<InsertValueInst>::op_end(this)
                 - IVI.getNumOperands(),
                 IVI.getNumOperands()) {