Skip to content

Commit 079b837

Browse files
committed
Merge: [AArch64] Tune unrolling prefs for more patterns on Apple CPUs llvm#149358
rdar://155320656
1 parent a150edc commit 079b837

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4808,7 +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, Width=10;
4811+
unsigned Size;
4812+
unsigned Width=10;
48124813
if (!isLoopSizeWithinBudget(L, TTI, Width, &Size))
48134814
return;
48144815

0 commit comments

Comments
 (0)