To both reduce drag by allowing flow to reattach by redirecting air downwards, and to reduce wind buffeting when the top is down as most of the wind in the cabin comes from behind this spoiler redirected wind might counteract the forward moving air in the cabin.
Something like this, depicted in red over the windshield
Will this cause lift?