Skip to content

Commit 8110f91

Browse files
committed
Address review comment
1 parent c8685ab commit 8110f91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4438,7 +4438,7 @@ static bool shouldUnrollMultiExitLoop(Loop *L, ScalarEvolution &SE,
44384438
// Small search loops with multiple exits can be highly beneficial to unroll.
44394439
// We only care about loops with exactly two exiting blocks, although each
44404440
// block could jump to the same exit block.
4441-
SmallVector<BasicBlock *> Blocks(L->getBlocks());
4441+
ArrayRef<BasicBlock*> Blocks = L->getBlocks();
44424442
if (Blocks.size() != 2)
44434443
return false;
44444444

0 commit comments

Comments
 (0)