Glucophage XR is used together with diet and exercise to improve blood sugar control in adults with type 2 diabetes mellitus.