This study investigated the effects of ivacaftor in participants with cystic fibrosis (CF) >=12 years of age with a forced expiratory volume in 1 second (FEV1) >=40 percent (%) predicted. This study was conducted in 2 parts.