mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 12:43:36 +01:00
Change LoopInfo::empty to isInnermost after D82895
This commit is contained in:
parent
22876f12a9
commit
9e917a5915
@ -232,7 +232,7 @@ void AMDGPUTTIImpl::getUnrollingPreferences(Loop *L, ScalarEvolution &SE,
|
||||
|
||||
// If we got a GEP in a small BB from inner loop then increase max trip
|
||||
// count to analyze for better estimation cost in unroll
|
||||
if (L->empty() && BB->size() < UnrollMaxBlockToAnalyze)
|
||||
if (L->isInnermost() && BB->size() < UnrollMaxBlockToAnalyze)
|
||||
UP.MaxIterationsCountToAnalyze = 32;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user