An Islamic State (IS) suicide bomber has killed two army generals as they led forces against IS positions in the turbulent Anbar province west of Baghdad, Iraqi military officials said.

They say the bomber drove his explosives-laden vehicle into advancing troops north of Anbar's provincial capital, IS-held Ramadi.

A military statement identified the two generals as Major General Abdul-Rahman Abu-Regheef, deputy chief of operations in Anbar, and Brigadier General Sefeen Abdul-Maguid, commander of the 10th Army Division. It said there were other casualties.

Government forces and allied militiamen have been battling IS militants in Anbar for months but have made modest gains against the group that controls most of the province.