ConstantExpr::getGetElementPtr method folds two getelementptr instructions when possible. llvm-svn: 10758