Revert "[opaque pointer type] Pass explicit pointer type through GEP constant folding"
[oota-llvm.git] / lib / IR / ConstantFold.h
index 42a9c6ba908a8bb63421280673ba0c066e2a5e75..a516abe024e5e005cdafce612c62a0aa1336b005 100644 (file)
@@ -51,10 +51,6 @@ namespace llvm {
                                       ArrayRef<Constant *> Idxs);
   Constant *ConstantFoldGetElementPtr(Constant *C, bool inBounds,
                                       ArrayRef<Value *> Idxs);
-  Constant *ConstantFoldGetElementPtr(Type *Ty, Constant *C, bool inBounds,
-                                      ArrayRef<Constant *> Idxs);
-  Constant *ConstantFoldGetElementPtr(Type *Ty, Constant *C, bool inBounds,
-                                      ArrayRef<Value *> Idxs);
 } // End llvm namespace
 
 #endif