Recumbents are notoriously difficult to ride as the grades get steeper. Upright cyclists have the advantage using different body positions (i.e. standing), but 'bent cyclists can't do that. On the steepest grades, it can be a challenge to even keep a 'bent's front wheel on the ground.
For an hour or more the recumbent wins just for comfort, and unfaired records it wins on air resistance (that's why the UCI banned them, it let povo scum beat gentlemen athletes). But then the UCI doesn't have faired records... it's only the IHPVA et al that make that distinction.
Interestingly the PBP etc records (we don't have records, this isn't a race!) are all uprights AFAIK. But that's xenophobia rather than technical skill from what I know. And the Round Australia record is an upright, largely because no-one on a recumbent has been inclined to attempt it. RAAM is held by a bent (https://en.wikipedia.org/wiki/Race_Across_America#Records).