[unroll] Remove two dead variable assignments [nfc]

These variables are not out-params, and we immediately return after assigning them.  Thus, the assignments are dead and just confusing.

I believe these used to be out-params, but they're not any more.
This commit is contained in:
Philip Reames 2021-11-23 09:10:41 -08:00
parent b00fc19822
commit 18086186ab
1 changed files with 0 additions and 2 deletions

View File

@ -982,8 +982,6 @@ bool llvm::computeUnrollCount(
if (UnrollFactor) {
UP.Count = *UnrollFactor;
UseUpperBound = (FullUnrollMaxTripCount == FullUnrollTripCount);
TripCount = FullUnrollTripCount;
TripMultiple = UP.UpperBound ? 1 : TripMultiple;
return ExplicitUnroll;
} else {
UP.Count = FullUnrollTripCount;