Putin is backing Assad exclusively, as far as I know. IS are presumably the principal target, but I suspect that they are not the only one. I expect that "we" (the West / NATO etc.) would probably prefer to back only the more moderate rebels, who are fighting against both Assad and IS, but we'll almost certainly have to accept Assad anyway as the only hope of returning Syria to some sort of stability.