Information technology (IT) stocks were the biggest gainers in Wednesday's trading, after HCL Technologies' stronger-than-expected earnings outlook prompted traders to cover some of their bearish bets that were initiated after earnings announcements of its larger peers --TCS and Infosys.