Skip to content

Commit 2fab33a

Browse files
committed
!fixup fix
1 parent 570013b commit 2fab33a

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
@@ -4150,15 +4150,15 @@ getAppleRuntimeUnrollPreferences(Loop *L, ScalarEvolution &SE,
41504150
if (isa<PHINode>(I) || L->isLoopInvariant(I) || Depth > 8)
41514151
return false;
41524152

4153-
if (auto *LI = dyn_cast<LoadInst>(I))
4153+
if (isa<LoadInst>(I))
41544154
return true;
41554155

41564156
return any_of(I->operands(), [&](Value *V) {
41574157
auto *I = dyn_cast<Instruction>(V);
41584158
return I && DependsOnLoopLoad(I, Depth + 1);
41594159
});
41604160
};
4161-
CmpInst::Predicate Pred;
4161+
CmpPredicate Pred;
41624162
Instruction *I;
41634163
if (match(Term, m_Br(m_ICmp(Pred, m_Instruction(I), m_Value()), m_Value(),
41644164
m_Value())) &&

0 commit comments

Comments
 (0)