In addition to coming from a set down against Potapova, Pegula was 3-1 down in the decider. She also saved a breakpoint at 4-4 in the second set and won seven of the last eight points to extend the match.
She'll play two-time Grand Slam champion Petra Kvitova, who bounced back from a first-set bagel to defeat another major champion, Jelena Ostapenko in three sets 0-6, 6-0, 6-4, for a spot in the quarterfinals.
In addition to coming from a set down against Potapova, Pegula was 3-1 down in the decider. She also saved a breakpoint at 4-4 in the second set and won seven of the last eight points to extend the match.