I don't know, if voldemort does avada kedavra before Thanos does an attack, I think Thanos would use the time stone to reverse it. This way Voldemort loses. But what if it's the Thanos without all the stones? Like the one in the end of Endgame, then Voldemort would win!