Skip to content
Commit 305fcc91 authored by Craig Topper's avatar Craig Topper
Browse files

[LoopIdiomRecognize] Merge a conditional operator with an earlier if and...

[LoopIdiomRecognize] Merge a conditional operator with an earlier if and remove an extra temporary variable. NFC

The CountPrev variable was only used to forward a value from
the if statement to the conditional operator under the same
condition.

While there move some variable declarations to their first
assignment.
parent 6785ca01
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment