Skip to content

Commit a150edc

Browse files
committed
tune budget for runtime-unroll (10)
1 parent a6f70e8 commit a150edc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4808,8 +4808,8 @@ getAppleRuntimeUnrollPreferences(Loop *L, ScalarEvolution &SE,
48084808
BasicBlock *Header = L->getHeader();
48094809
if (Header == L->getLoopLatch()) {
48104810
// Estimate the size of the loop.
4811-
unsigned Size;
4812-
if (!isLoopSizeWithinBudget(L, TTI, 9, &Size))
4811+
unsigned Size, Width=10;
4812+
if (!isLoopSizeWithinBudget(L, TTI, Width, &Size))
48134813
return;
48144814

48154815
SmallPtrSet<Value *, 8> LoadedValuesPlus;

0 commit comments

Comments
 (0)