Skip to content

Commit b7bca64

Browse files
committed
Update comments with the newly covered pattern
1 parent 3a9dcc9 commit b7bca64

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4802,8 +4802,9 @@ getAppleRuntimeUnrollPreferences(Loop *L, ScalarEvolution &SE,
48024802
// Limit to loops with trip counts that are cheap to expand.
48034803
UP.SCEVExpansionBudget = 1;
48044804

4805-
// Try to unroll small, single block loops, if they have load/store
4806-
// dependencies, to expose more parallel memory access streams.
4805+
// Try to unroll small loops, of few-blocks with low budget, if they have
4806+
// load/store dependencies, to expose more parallel memory access streams,
4807+
// or if they do little work inside a block (i.e. load -> X -> store pattern).
48074808
BasicBlock *Header = L->getHeader();
48084809
if (Header == L->getLoopLatch()) {
48094810
// Estimate the size of the loop.

0 commit comments

Comments
 (0)