diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h index 2b8ea6ab3f0..36969d9fabe 100644 --- a/include/llvm/Constants.h +++ b/include/llvm/Constants.h @@ -492,18 +492,13 @@ public: /// static Constant *getCast(Constant *C, const Type *Ty); - /// Binary constant expr - Use with binary operators... + /// ConstantExpr::get - Return a binary or shift operator constant expression, + /// folding if possible. /// static Constant *get(unsigned Opcode, Constant *C1, Constant *C2) { return getTy(C1->getType(), Opcode, C1, C2); } - /// getShift - Return a shift left or shift right constant expr - /// - static Constant *getShift(unsigned Opcode, Constant *C1, Constant *C2) { - return getShiftTy(C1->getType(), Opcode, C1, C2); - } - /// Getelementptr form... /// static Constant *getGetElementPtr(Constant *C,