Skip to content

Commit e3e6e9b

Browse files
committed
Address review comment
1 parent a79818c commit e3e6e9b

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
@@ -4443,7 +4443,7 @@ static bool shouldUnrollMultiExitLoop(Loop *L, ScalarEvolution &SE,
44434443
// Small search loops with multiple exits can be highly beneficial to unroll.
44444444
// We only care about loops with exactly two exiting blocks, although each
44454445
// block could jump to the same exit block.
4446-
SmallVector<BasicBlock *> Blocks(L->getBlocks());
4446+
ArrayRef<BasicBlock*> Blocks = L->getBlocks();
44474447
if (Blocks.size() != 2)
44484448
return false;
44494449

0 commit comments

Comments
 (0)