mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[LoopVectorize] NFC: Fix unused variable warning for MaxSafeDepDist
rGf571fe6df585127d8b045f8e8f5b4e59da9bbb73 led to a warning of an unused variable for MaxSafeDepDist (written but not used). It seems this variable and assignment can be safely removed.
This commit is contained in:
parent
e397da3290
commit
8270667b76
@ -5789,12 +5789,6 @@ LoopVectorizationCostModel::calculateRegisterUsage(ArrayRef<ElementCount> VFs) {
|
||||
TransposeEnds[Interval.second].push_back(Interval.first);
|
||||
|
||||
SmallPtrSet<Instruction *, 8> OpenIntervals;
|
||||
|
||||
// Get the size of the widest register.
|
||||
unsigned MaxSafeDepDist = -1U;
|
||||
if (Legal->getMaxSafeDepDistBytes() != -1U)
|
||||
MaxSafeDepDist = Legal->getMaxSafeDepDistBytes() * 8;
|
||||
|
||||
SmallVector<RegisterUsage, 8> RUs(VFs.size());
|
||||
SmallVector<SmallMapVector<unsigned, unsigned, 4>, 8> MaxUsages(VFs.size());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user